-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
InstanceCompletionAction.xml
68 lines (66 loc) · 4.47 KB
/
InstanceCompletionAction.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
<Type Name="InstanceCompletionAction" FullName="System.Activities.DurableInstancing.InstanceCompletionAction">
<TypeSignature Language="C#" Value="public enum InstanceCompletionAction" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed InstanceCompletionAction extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Activities.DurableInstancing.InstanceCompletionAction" />
<TypeSignature Language="VB.NET" Value="Public Enum InstanceCompletionAction" />
<TypeSignature Language="F#" Value="type InstanceCompletionAction = " />
<TypeSignature Language="C++ CLI" Value="public enum class InstanceCompletionAction" />
<AssemblyInfo>
<AssemblyName>System.Activities.DurableInstancing</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Contains options that specify whether the persistence provider should keep or delete the state information for an instance in the persistence store after the instance completes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
.NET Framework 4 ships with a SQL persistence provider as a constituent of the SQL Workflow Instance Store, which is a concrete implementation of the <xref:System.Runtime.DurableInstancing.InstanceStore> class and is used to persist state information in to the SQL Server database. When the `InstanceCompletionAction` attribute is set to DeleteNothing for the <xref:System.Activities.DurableInstancing.SqlWorkflowInstanceStore> service behavior associated with a service, the SQL persistence provider keeps the instance state information for the instance in the SQL Server persistence database even after the instance completes, and when the `InstanceCompletionAction` attribute is set to DeleteAll (which is the default value), the persistence provider deletes all the instance state information when the instance completes.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="DeleteAll">
<MemberSignature Language="C#" Value="DeleteAll" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Activities.DurableInstancing.InstanceCompletionAction DeleteAll = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Activities.DurableInstancing.InstanceCompletionAction.DeleteAll" />
<MemberSignature Language="VB.NET" Value="DeleteAll" />
<MemberSignature Language="F#" Value="DeleteAll = 1" Usage="System.Activities.DurableInstancing.InstanceCompletionAction.DeleteAll" />
<MemberSignature Language="C++ CLI" Value="DeleteAll" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.DurableInstancing</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Activities.DurableInstancing.InstanceCompletionAction</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Specifies that data and metadata for a workflow instance must be deleted from the persistence store after the workflow instance completes.</summary>
</Docs>
</Member>
<Member MemberName="DeleteNothing">
<MemberSignature Language="C#" Value="DeleteNothing" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Activities.DurableInstancing.InstanceCompletionAction DeleteNothing = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Activities.DurableInstancing.InstanceCompletionAction.DeleteNothing" />
<MemberSignature Language="VB.NET" Value="DeleteNothing" />
<MemberSignature Language="F#" Value="DeleteNothing = 0" Usage="System.Activities.DurableInstancing.InstanceCompletionAction.DeleteNothing" />
<MemberSignature Language="C++ CLI" Value="DeleteNothing" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.DurableInstancing</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Activities.DurableInstancing.InstanceCompletionAction</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Specifies that data and metadata for a workflow instance must be kept in the persistence database even after the workflow instance completes.</summary>
</Docs>
</Member>
</Members>
</Type>