Skip to content

Commit 2db7920

Browse files
authored
Fix or remove broken links (dotnet#8737)
1 parent 07acbe7 commit 2db7920

28 files changed

+269
-310
lines changed

xml/System.Activities.DurableInstancing/SqlWorkflowInstanceStore.xml

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,11 @@
225225
<format type="text/markdown"><![CDATA[
226226
227227
## Remarks
228-
If the host does not renew the lock (in other words, extend the lease) with this in this time period, the persistence provider unlocks the instance and another host may lock the instance. The value is a <xref:System.TimeSpan> of the form "hh:mm:ss". The minimum permitted value is "00:00:01" (1 sec). The default value of this property is "00:00:30" (30 seconds).
229-
230-
231-
232-
## Examples
233-
The following code sample demonstrates using HostLockRenewalPeriod in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>. This example is from the [Built-in Configuration](/dotnet/framework/windows-workflow-foundation/samples/built-in-configuration) sample.
228+
If the host does not renew the lock (in other words, extend the lease) with this in this time period, the persistence provider unlocks the instance and another host may lock the instance. The value is a <xref:System.TimeSpan> of the form "hh:mm:ss". The minimum permitted value is "00:00:01" (1 sec). The default value of this property is "00:00:30" (30 seconds).
229+
230+
## Examples
231+
232+
The following code sample demonstrates using HostLockRenewalPeriod in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>.
234233
235234
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_builtinconfiguration/cs/program.cs" id="Snippet1":::
236235
@@ -266,12 +265,11 @@
266265
<format type="text/markdown"><![CDATA[
267266
268267
## Remarks
269-
Possible values are "DeleteNothing" and "DeleteAll". The default value is "DeleteAll". If the property is set to "DeleteNothing", the persistence provider keeps all the instance data and metadata in the persistence database after the workflow instance completes. If the property is set to "DeleteAll", the persistence provider deletes all the instance data and metadata after the workflow instance completes.
270-
271-
272-
273-
## Examples
274-
The following code sample demonstrates using InstanceCompletionAction in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>. This example is from the [Built-in Configuration](/dotnet/framework/windows-workflow-foundation/samples/built-in-configuration) sample.
268+
Possible values are "DeleteNothing" and "DeleteAll". The default value is "DeleteAll". If the property is set to "DeleteNothing", the persistence provider keeps all the instance data and metadata in the persistence database after the workflow instance completes. If the property is set to "DeleteAll", the persistence provider deletes all the instance data and metadata after the workflow instance completes.
269+
270+
## Examples
271+
272+
The following code sample demonstrates using InstanceCompletionAction in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>.
275273
276274
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_builtinconfiguration/cs/program.cs" id="Snippet1":::
277275
@@ -307,12 +305,11 @@
307305
<format type="text/markdown"><![CDATA[
308306
309307
## Remarks
310-
If the value is set to "GZip", the instance data is compressed using the GZip algorithm.
311-
312-
313-
314-
## Examples
315-
The following code sample demonstrates using InstanceEncodingOption in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>. This example is from the [Built-in Configuration](/dotnet/framework/windows-workflow-foundation/samples/built-in-configuration) sample.
308+
If the value is set to "GZip", the instance data is compressed using the GZip algorithm.
309+
310+
## Examples
311+
312+
The following code sample demonstrates using InstanceEncodingOption in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>.
316313
317314
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_builtinconfiguration/cs/program.cs" id="Snippet1":::
318315
@@ -350,16 +347,15 @@
350347
## Remarks
351348
Specify what action a service host should take when a workflow service instance experiences an <xref:System.Runtime.DurableInstancing.InstanceLockedException>. The service host receives an <xref:System.Runtime.DurableInstancing.InstanceLockedException> when it tries to lock an instance that is already locked by another owner. The possible values are in the following list:
352349
353-
- **None**. The service host does not attempt to lock the instance and passes the <xref:System.Runtime.DurableInstancing.InstanceLockedException> to the caller.
350+
- **None**. The service host does not attempt to lock the instance and passes the <xref:System.Runtime.DurableInstancing.InstanceLockedException> to the caller.
354351
355-
- **BasicRetry**. The service host reattempts to lock the instance with a linear retry interval and passes the exception to the caller at the end of the sequence.
352+
- **BasicRetry**. The service host reattempts to lock the instance with a linear retry interval and passes the exception to the caller at the end of the sequence.
356353
357-
- **AggressiveRetry**. The service host reattempts to lock the instance with an exponentially increasing delay and passes the <xref:System.Runtime.DurableInstancing.InstanceLockedException> to the caller at the end of the sequence. The intervals are short in the beginning in an attempt to acquire the lock as quickly as possible and the intervals gets bigger with every unsuccessful attempt.
354+
- **AggressiveRetry**. The service host reattempts to lock the instance with an exponentially increasing delay and passes the <xref:System.Runtime.DurableInstancing.InstanceLockedException> to the caller at the end of the sequence. The intervals are short in the beginning in an attempt to acquire the lock as quickly as possible and the intervals gets bigger with every unsuccessful attempt.
358355
359-
360-
361-
## Examples
362-
The following code sample demonstrates using InstanceLockedExceptionAction in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>. This example is from the [Built-in Configuration](/dotnet/framework/windows-workflow-foundation/samples/built-in-configuration) sample.
356+
## Examples
357+
358+
The following code sample demonstrates using InstanceLockedExceptionAction in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>.
363359
364360
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_builtinconfiguration/cs/program.cs" id="Snippet1":::
365361
@@ -467,8 +463,9 @@
467463
<remarks>
468464
<format type="text/markdown"><![CDATA[
469465
470-
## Examples
471-
The following code sample demonstrates using Promote in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>. This example is from the [SQLStoreExtensibility](/dotnet/framework/windows-workflow-foundation/samples/sqlstoreextensibility) sample.
466+
## Example
467+
468+
The following code sample demonstrates using Promote in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>.
472469
473470
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_sqlstoreextensibility/cs/program.cs" id="Snippet1":::
474471
@@ -516,12 +513,11 @@
516513
517514
When a workflow host receives this event, it executes the <xref:System.Activities.DurableInstancing.TryLoadRunnableWorkflowCommand> against the instance store to load the instance into the memory.
518515
519-
The type of the property is TimeSpan and the value is of the form "hh:mm:ss". The minimum value is "00:00:01" (1 sec). If omitted, defaults to "00:00:05" (5 secs). This parameter is an optional parameter.
520-
521-
522-
523-
## Examples
524-
The following code sample demonstrates using RunnableInstancesDetectionPeriod in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>. This example is from the [Built-in Configuration](/dotnet/framework/windows-workflow-foundation/samples/built-in-configuration) sample.
516+
The type of the property is TimeSpan and the value is of the form "hh:mm:ss". The minimum value is "00:00:01" (1 sec). If omitted, defaults to "00:00:05" (5 secs). This parameter is an optional parameter.
517+
518+
## Examples
519+
520+
The following code sample demonstrates using RunnableInstancesDetectionPeriod in a <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore>.
525521
526522
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_builtinconfiguration/cs/program.cs" id="Snippet1":::
527523

xml/System.Activities.Statements/ForEach`1.xml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
## Remarks
3232
<xref:System.Activities.Statements.ForEach`1> is similar to the keyword `foreach` but is implemented as an activity rather than a language statement. Note that unlike `foreach` in C#, the <xref:System.Activities.Statements.ForEach%601> activity uses <xref:System.Collections.Generic.IEnumerable%601.GetEnumerator%2A>, rather than <xref:System.Collections.Generic.IEnumerator%601>.
3333
34-
## Examples
35-
The following code sample demonstrates creating a <xref:System.Activities.Statements.ForEach%601> activity. This example is from the [DynamicActivity Creation](/dotnet/framework/windows-workflow-foundation/samples/dynamicactivity-creation) sample.
34+
## Examples
35+
36+
The following code sample demonstrates creating a <xref:System.Activities.Statements.ForEach%601> activity.
3637
3738
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_dynamicactivitycreation/cs/program.cs" id="Snippet1":::
3839
@@ -57,8 +58,9 @@
5758
<remarks>
5859
<format type="text/markdown"><![CDATA[
5960
60-
## Examples
61-
The following code sample demonstrates creating a <xref:System.Activities.Statements.ForEach%601> activity. This example is from the [DynamicActivity Creation](/dotnet/framework/windows-workflow-foundation/samples/dynamicactivity-creation) sample.
61+
## Examples
62+
63+
The following code sample demonstrates creating a <xref:System.Activities.Statements.ForEach%601> activity.
6264
6365
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_dynamicactivitycreation/cs/program.cs" id="Snippet1":::
6466
@@ -101,8 +103,9 @@
101103
<remarks>
102104
<format type="text/markdown"><![CDATA[
103105
104-
## Examples
105-
The following code sample demonstrates setting the Body property of a <xref:System.Activities.Statements.ForEach%601> activity. This example is from the [DynamicActivity Creation](/dotnet/framework/windows-workflow-foundation/samples/dynamicactivity-creation) sample.
106+
## Examples
107+
108+
The following code sample demonstrates setting the Body property of a <xref:System.Activities.Statements.ForEach%601> activity.
106109
107110
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_dynamicactivitycreation/cs/program.cs" id="Snippet1":::
108111
@@ -223,8 +226,9 @@
223226
<remarks>
224227
<format type="text/markdown"><![CDATA[
225228
226-
## Examples
227-
The following code sample demonstrates setting the Values property of a <xref:System.Activities.Statements.ForEach%601> activity. This example is from the [DynamicActivity Creation](/dotnet/framework/windows-workflow-foundation/samples/dynamicactivity-creation) sample.
229+
## Examples
230+
231+
The following code sample demonstrates setting the Values property of a <xref:System.Activities.Statements.ForEach%601> activity.
228232
229233
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_dynamicactivitycreation/cs/program.cs" id="Snippet1":::
230234

xml/System.Activities.Statements/If.xml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
<remarks>
1919
<format type="text/markdown"><![CDATA[
2020
21-
## Examples
22-
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
21+
## Examples
22+
23+
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity.
2324
2425
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
2526
@@ -59,8 +60,9 @@
5960
<remarks>
6061
<format type="text/markdown"><![CDATA[
6162
62-
## Examples
63-
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
63+
## Examples
64+
65+
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity.
6466
6567
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
6668
@@ -89,8 +91,9 @@
8991
<remarks>
9092
<format type="text/markdown"><![CDATA[
9193
92-
## Examples
93-
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
94+
## Examples
95+
96+
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity.
9497
9598
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
9699
@@ -119,8 +122,9 @@
119122
<remarks>
120123
<format type="text/markdown"><![CDATA[
121124
122-
## Examples
123-
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
125+
## Examples
126+
127+
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity.
124128
125129
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
126130
@@ -149,8 +153,9 @@
149153
<remarks>
150154
<format type="text/markdown"><![CDATA[
151155
152-
## Examples
153-
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
156+
## Examples
157+
158+
The following code sample demonstrates creating an <xref:System.Activities.Statements.If> activity.
154159
155160
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
156161
@@ -221,8 +226,9 @@
221226
<remarks>
222227
<format type="text/markdown"><![CDATA[
223228
224-
## Examples
225-
The following code sample demonstrates setting the Condition property of an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
229+
## Examples
230+
231+
The following code sample demonstrates setting the Condition property of an <xref:System.Activities.Statements.If> activity.
226232
227233
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
228234
@@ -269,8 +275,9 @@
269275
<remarks>
270276
<format type="text/markdown"><![CDATA[
271277
272-
## Examples
273-
The following code sample demonstrates setting the Else property of an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
278+
## Examples
279+
280+
The following code sample demonstrates setting the Else property of an <xref:System.Activities.Statements.If> activity.
274281
275282
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
276283
@@ -367,8 +374,9 @@
367374
<remarks>
368375
<format type="text/markdown"><![CDATA[
369376
370-
## Examples
371-
The following code sample demonstrates setting the Then property of an <xref:System.Activities.Statements.If> activity. This example is from the [Sending and Handling Faults](/dotnet/framework/windows-workflow-foundation/samples/sending-and-handling-faults) sample.
377+
## Examples
378+
379+
The following code sample demonstrates setting the Then property of an <xref:System.Activities.Statements.If> activity.
372380
373381
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_faults/cs/program.cs" id="Snippet1":::
374382

xml/System.Activities.Statements/Parallel.xml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
3030
3131
32-
## Examples
33-
The following code sample demonstrates creating a <xref:System.Activities.Statements.Parallel> activity. This example is from the [Cancellation Handler on Compensable Activity](/dotnet/framework/windows-workflow-foundation/samples/cancellation-handler-on-compensable-activity) sample.
32+
## Examples
33+
34+
The following code sample demonstrates creating a <xref:System.Activities.Statements.Parallel> activity.
3435
3536
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
3637
@@ -61,8 +62,9 @@
6162
<remarks>
6263
<format type="text/markdown"><![CDATA[
6364
64-
## Examples
65-
The following code sample demonstrates creating a <xref:System.Activities.Statements.Parallel> activity. This example is from the [Cancellation Handler on Compensable Activity](/dotnet/framework/windows-workflow-foundation/samples/cancellation-handler-on-compensable-activity) sample.
65+
## Examples
66+
67+
The following code sample demonstrates creating a <xref:System.Activities.Statements.Parallel> activity.
6668
6769
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
6870
@@ -97,8 +99,9 @@
9799
<remarks>
98100
<format type="text/markdown"><![CDATA[
99101
100-
## Examples
101-
The following code sample demonstrates setting the Branches property of a <xref:System.Activities.Statements.Parallel> activity. This example is from the [Cancellation Handler on Compensable Activity](/dotnet/framework/windows-workflow-foundation/samples/cancellation-handler-on-compensable-activity) sample.
102+
## Examples
103+
104+
The following code sample demonstrates setting the Branches property of a <xref:System.Activities.Statements.Parallel> activity.
102105
103106
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
104107
@@ -194,12 +197,11 @@
194197
<format type="text/markdown"><![CDATA[
195198
196199
## Remarks
197-
If this property evaluates to `true`, then the other scheduled elements in the <xref:System.Activities.Statements.Parallel.Branches%2A> collection are canceled. If this property is not set, all <xref:System.Activities.Activity> objects in the <xref:System.Activities.Statements.Parallel.Branches%2A> collection execute until completion.
198-
199-
200-
201-
## Examples
202-
The following code sample demonstrates setting the CompletionCondition property of a <xref:System.Activities.Statements.Parallel> activity. This example is from the [Cancellation Handler on Compensable Activity](/dotnet/framework/windows-workflow-foundation/samples/cancellation-handler-on-compensable-activity) sample.
200+
If this property evaluates to `true`, then the other scheduled elements in the <xref:System.Activities.Statements.Parallel.Branches%2A> collection are canceled. If this property is not set, all <xref:System.Activities.Activity> objects in the <xref:System.Activities.Statements.Parallel.Branches%2A> collection execute until completion.
201+
202+
## Examples
203+
204+
The following code sample demonstrates setting the CompletionCondition property of a <xref:System.Activities.Statements.Parallel> activity.
203205
204206
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
205207

0 commit comments

Comments
 (0)