-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
PickBranch.xml
220 lines (205 loc) · 13.8 KB
/
PickBranch.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<Type Name="PickBranch" FullName="System.Activities.Statements.PickBranch">
<TypeSignature Language="C#" Value="public sealed class PickBranch" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit PickBranch extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Activities.Statements.PickBranch" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class PickBranch" />
<TypeSignature Language="F#" Value="type PickBranch = class" />
<TypeSignature Language="C++ CLI" Value="public ref class PickBranch sealed" />
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.ContentProperty("Action")]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.ContentProperty("Action")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A potential path of execution within a <see cref="T:System.Activities.Statements.Pick" /> activity.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Activities.Statements.PickBranch> contains a <xref:System.Activities.Statements.PickBranch.Trigger%2A> and an <xref:System.Activities.Statements.PickBranch.Action%2A>. At the beginning of a <xref:System.Activities.Statements.Pick> element's execution, all the trigger activities from all <xref:System.Activities.Statements.PickBranch> elements are scheduled. When the first (leftmost) activity completes, the corresponding action activity is scheduled, and all other trigger activities are canceled.
## Examples
The following code sample demonstrates creating a <xref:System.Activities.Statements.PickBranch> activity. This example is from the [Using the Pick Activity](/dotnet/framework/windows-workflow-foundation/samples/using-the-pick-activity) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_pick/cs/program.cs" id="Snippet1":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PickBranch ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Statements.PickBranch.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 PickBranch();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Creates a new instance of the <see cref="T:System.Activities.Statements.PickBranch" /> activity.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates creating a <xref:System.Activities.Statements.PickBranch> activity. This example is from the [Using the Pick Activity](/dotnet/framework/windows-workflow-foundation/samples/using-the-pick-activity) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_pick/cs/program.cs" id="Snippet1":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Action">
<MemberSignature Language="C#" Value="public System.Activities.Activity Action { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Activities.Activity Action" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.PickBranch.Action" />
<MemberSignature Language="VB.NET" Value="Public Property Action As Activity" />
<MemberSignature Language="F#" Value="member this.Action : System.Activities.Activity with get, set" Usage="System.Activities.Statements.PickBranch.Action" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Activities::Activity ^ Action { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue(null)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue(null)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.DependsOn("Trigger")]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.DependsOn("Trigger")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Activity</ReturnType>
</ReturnValue>
<Docs>
<summary>The <see cref="T:System.Activities.Activity" /> to execute if this branch is triggered for execution.</summary>
<value>The activity to execute.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates setting the Action property of a <xref:System.Activities.Statements.PickBranch> activity. This example is from the [Using the Pick Activity](/dotnet/framework/windows-workflow-foundation/samples/using-the-pick-activity) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_pick/cs/program.cs" id="Snippet1":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DisplayName">
<MemberSignature Language="C#" Value="public string DisplayName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string DisplayName" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.PickBranch.DisplayName" />
<MemberSignature Language="VB.NET" Value="Public Property DisplayName As String" />
<MemberSignature Language="F#" Value="member this.DisplayName : string with get, set" Usage="System.Activities.Statements.PickBranch.DisplayName" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ DisplayName { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue("PickBranch")]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue("PickBranch")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The name of this branch to be displayed in the activity designer.</summary>
<value>The branch name.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Trigger">
<MemberSignature Language="C#" Value="public System.Activities.Activity Trigger { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Activities.Activity Trigger" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.PickBranch.Trigger" />
<MemberSignature Language="VB.NET" Value="Public Property Trigger As Activity" />
<MemberSignature Language="F#" Value="member this.Trigger : System.Activities.Activity with get, set" Usage="System.Activities.Statements.PickBranch.Trigger" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Activities::Activity ^ Trigger { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue(null)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue(null)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.DependsOn("Variables")]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.DependsOn("Variables")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Activity</ReturnType>
</ReturnValue>
<Docs>
<summary>The activity whose completion activates this pick branch.</summary>
<value>The triggering activity.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates setting the Trigger property of a <xref:System.Activities.Statements.PickBranch> activity. This example is from the [Using the Pick Activity](/dotnet/framework/windows-workflow-foundation/samples/using-the-pick-activity) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_pick/cs/program.cs" id="Snippet1":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Variables">
<MemberSignature Language="C#" Value="public System.Collections.ObjectModel.Collection<System.Activities.Variable> Variables { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.Collection`1<class System.Activities.Variable> Variables" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.PickBranch.Variables" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Variables As Collection(Of Variable)" />
<MemberSignature Language="F#" Value="member this.Variables : System.Collections.ObjectModel.Collection<System.Activities.Variable>" Usage="System.Activities.Statements.PickBranch.Variables" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::ObjectModel::Collection<System::Activities::Variable ^> ^ Variables { System::Collections::ObjectModel::Collection<System::Activities::Variable ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.Collection<System.Activities.Variable></ReturnType>
</ReturnValue>
<Docs>
<summary>The collection of user-defined variables associated with this activity.</summary>
<value>The variable collection.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>