Compartilhar via


QueryTerminateEventArgs Class

Definition

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).

Applies to