QueryTerminateEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The event args given to a listener of the QueryTerminate event.
public ref class QueryTerminateEventArgs : EventArgs
public class QueryTerminateEventArgs : EventArgs
type QueryTerminateEventArgs = class
inherit EventArgs
Public Class QueryTerminateEventArgs
Inherits EventArgs
- Inheritance
-
QueryTerminateEventArgs
Constructors
QueryTerminateEventArgs(Boolean) |
Constructs a QueryTerminateEventArgs object. |
Properties
CanTerminate |
Indicates if the component can terminate. |
ShouldPromptUser |
Indicates whether the component should prompt the user if it can't decide if it is okay to terminate, or if it decides that it can't (to alert the user why). |