-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ExitEventArgs.xml
78 lines (74 loc) · 4.75 KB
/
ExitEventArgs.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
<Type Name="ExitEventArgs" FullName="System.Windows.ExitEventArgs">
<TypeSignature Language="C#" Value="public class ExitEventArgs : EventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ExitEventArgs extends System.EventArgs" />
<TypeSignature Language="DocId" Value="T:System.Windows.ExitEventArgs" />
<TypeSignature Language="VB.NET" Value="Public Class ExitEventArgs
Inherits EventArgs" />
<TypeSignature Language="F#" Value="type ExitEventArgs = class
 inherit EventArgs" />
<TypeSignature Language="C++ CLI" Value="public ref class ExitEventArgs : EventArgs" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.EventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Event arguments for the <see cref="E:System.Windows.Application.Exit" /> event.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.ExitEventHandler" />
</Docs>
<Members>
<Member MemberName="ApplicationExitCode">
<MemberSignature Language="C#" Value="public int ApplicationExitCode { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ApplicationExitCode" />
<MemberSignature Language="DocId" Value="P:System.Windows.ExitEventArgs.ApplicationExitCode" />
<MemberSignature Language="VB.NET" Value="Public Property ApplicationExitCode As Integer" />
<MemberSignature Language="F#" Value="member this.ApplicationExitCode : int with get, set" Usage="System.Windows.ExitEventArgs.ApplicationExitCode" />
<MemberSignature Language="C++ CLI" Value="public:
 property int ApplicationExitCode { int get(); void set(int value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<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.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the exit code that an application returns to the operating system when the application exits.</summary>
<value>The exit code that an application returns to the operating system when the application exits.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An application typically returns an exit code to the operating system to indicate whether an application exited successfully or not. An application exit code value of **0** (the default) is commonly used to indicate success. However, you are free to return exit code values that are appropriate to your application.
You can specify an exit code by handling the <xref:System.Windows.Application.Exit> event and setting <xref:System.Windows.ExitEventArgs.ApplicationExitCode%2A> with an appropriate value.
> [!NOTE]
> You can also specify an exit code by calling <xref:System.Windows.Application.Shutdown%2A> method. If you do, the value of <xref:System.Windows.ExitEventArgs.ApplicationExitCode%2A> is the value of the exit code that you pass to <xref:System.Windows.Application.Shutdown%2A>.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>