-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ServicesExceptionNotHandledEventArgs.xml
91 lines (85 loc) · 6.69 KB
/
ServicesExceptionNotHandledEventArgs.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
<Type Name="ServicesExceptionNotHandledEventArgs" FullName="System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs">
<TypeSignature Language="C#" Value="public sealed class ServicesExceptionNotHandledEventArgs : EventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ServicesExceptionNotHandledEventArgs extends System.EventArgs" />
<TypeSignature Language="DocId" Value="T:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class ServicesExceptionNotHandledEventArgs
Inherits EventArgs" />
<TypeSignature Language="F#" Value="type ServicesExceptionNotHandledEventArgs = class
 inherit EventArgs" />
<TypeSignature Language="C++ CLI" Value="public ref class ServicesExceptionNotHandledEventArgs sealed : EventArgs" />
<AssemblyInfo>
<AssemblyName>System.Workflow.Runtime</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.EventArgs</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 data for the <see cref="E:System.Workflow.Runtime.WorkflowRuntime.ServicesExceptionNotHandled" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
> [!NOTE]
> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
When a service that derives from the <xref:System.Workflow.Runtime.Hosting.WorkflowRuntimeService> class encounters an exception that it cannot handle, it can call the <xref:System.Workflow.Runtime.Hosting.WorkflowRuntimeService.RaiseServicesExceptionNotHandledEvent%2A> method to tell the workflow runtime engine to raise the <xref:System.Workflow.Runtime.WorkflowRuntime.ServicesExceptionNotHandled?displayProperty=nameWithType> event. The service passes the <xref:System.Guid> of the workflow instance and the <xref:System.Exception> associated with this event in its call to <xref:System.Workflow.Runtime.Hosting.WorkflowRuntimeService.RaiseServicesExceptionNotHandledEvent%2A>. The workflow runtime engine encapsulates these parameters in a <xref:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs> and raises the <xref:System.Workflow.Runtime.WorkflowRuntime.ServicesExceptionNotHandled?displayProperty=nameWithType> event. From inside of a subscriber to the <xref:System.Workflow.Runtime.WorkflowRuntime.ServicesExceptionNotHandled?displayProperty=nameWithType> event, you can read the <xref:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.WorkflowInstanceId%2A> property and the <xref:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.Exception%2A> property to get the information associated with a particular <xref:System.Workflow.Runtime.WorkflowRuntime.ServicesExceptionNotHandled?displayProperty=nameWithType> event.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Exception">
<MemberSignature Language="C#" Value="public Exception Exception { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Exception Exception" />
<MemberSignature Language="DocId" Value="P:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.Exception" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Exception As Exception" />
<MemberSignature Language="F#" Value="member this.Exception : Exception" Usage="System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.Exception" />
<MemberSignature Language="C++ CLI" Value="public:
 property Exception ^ Exception { Exception ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Runtime</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Exception</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the exception that could not be handled by the service.</summary>
<value>A <see cref="T:System.Exception" /> that represents the exception that could not be handled by the service.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WorkflowInstanceId">
<MemberSignature Language="C#" Value="public Guid WorkflowInstanceId { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Guid WorkflowInstanceId" />
<MemberSignature Language="DocId" Value="P:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.WorkflowInstanceId" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property WorkflowInstanceId As Guid" />
<MemberSignature Language="F#" Value="member this.WorkflowInstanceId : Guid" Usage="System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.WorkflowInstanceId" />
<MemberSignature Language="C++ CLI" Value="public:
 property Guid WorkflowInstanceId { Guid get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.Runtime</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Guid</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Guid" /> of the workflow instance associated with the unhandled exception.</summary>
<value>The <see cref="T:System.Guid" /> of the workflow instance associated with the unhandled exception.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Workflow.Runtime.ServicesExceptionNotHandledEventArgs.WorkflowInstanceId%2A> is equivalent to the <xref:System.Workflow.Runtime.WorkflowInstance.InstanceId%2A?displayProperty=nameWithType> of the workflow instance associated with the <xref:System.Workflow.Runtime.WorkflowRuntime.ServicesExceptionNotHandled> event.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>