System
1.0.5000.0
2.0.0.0
4.0.0.0
System.EventArgs
A event is raised when the user is trying to log off or shut the system down.
This event can sometimes be canceled. Setting the property of a to false will request that the session continue instead of ending. Making such a request provides no guarantee that the session will not end.
Provides data for the event.
Constructor
1.0.5000.0
2.0.0.0
4.0.0.0
To be added.
Initializes a new instance of the class using the specified value indicating the type of session close event that is occurring.
One of the that specifies how the session ends.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.Boolean
To be added.
When set to true, this property requests that the session continue to run. It provides no guarantee that the session will not end.
Gets or sets a value indicating whether to cancel the user request to end the session.
Property
1.0.5000.0
2.0.0.0
4.0.0.0
Microsoft.Win32.SessionEndReasons
To be added.
To be added.
Gets the reason the session is ending.