-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
TrackingProfileCache.xml
72 lines (65 loc) · 4.5 KB
/
TrackingProfileCache.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
<Type Name="TrackingProfileCache" FullName="System.Workflow.Runtime.Tracking.TrackingProfileCache">
<TypeSignature Language="C#" Value="public static class TrackingProfileCache" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit TrackingProfileCache extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Workflow.Runtime.Tracking.TrackingProfileCache" />
<TypeSignature Language="VB.NET" Value="Public Class TrackingProfileCache" />
<TypeSignature Language="F#" Value="type TrackingProfileCache = class" />
<TypeSignature Language="C++ CLI" Value="public ref class TrackingProfileCache abstract sealed" />
<AssemblyInfo>
<AssemblyName>System.Workflow.Runtime</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides a method that a host application can use to clear the tracking profile cache.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
> [!NOTE]
> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
When the workflow runtime engine has one or more tracking services registered with it, the runtime tracking infrastructure must determine whether tracking profiles exist for any workflow that is loaded into memory. The runtime tracking infrastructure maintains a cache of tracking profiles which it checks before it requests a <xref:System.Workflow.Runtime.Tracking.TrackingProfile> for the workflow from each tracking service. The <xref:System.Workflow.Runtime.Tracking.TrackingProfileCache> class provides a static method, <xref:System.Workflow.Runtime.Tracking.TrackingProfileCache.Clear%2A>, which a host application can use to clear the tracking profile cache. This will force the runtime tracking infrastructure to load tracking profiles from its registered tracking services for any workflow instances that are loaded into memory after the cache is cleared.
> [!NOTE]
> <xref:System.Workflow.Runtime.Tracking.TrackingProfile> caching is not supported for markup only workflows.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public static void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.Runtime.Tracking.TrackingProfileCache.Clear" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub Clear ()" />
<MemberSignature Language="F#" Value="static member Clear : unit -> unit" Usage="System.Workflow.Runtime.Tracking.TrackingProfileCache.Clear " />
<MemberSignature Language="C++ CLI" Value="public:
 static void Clear();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Runtime</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Clears the tracking profile cache maintained by the runtime tracking infrastructure of all tracking profiles.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
After the cache is cleared, the runtime tracking infrastructure will load tracking profiles directly from its registered tracking services for any workflow instances loaded into memory. Any workflow instance that is in memory and is running will not need to have its tracking profiles reloaded unless the workflow is unloaded and then reloaded into memory.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>