Skip to main content

CancelEventArgs Class

Provides data for cancelable client events.

Declaration

class CancelEventArgs extends EventArgs

Properties

cancel Property

Indicates whether the action that raised the event should be canceled.

Declaration

cancel: boolean

Property Value

Type Description
boolean

true, if the action that raised the event should be canceled; otherwise, false.

Remarks

Use the cancel property to cancel the action that is about to be performed. Set this property to true to cancel the action that raised the event.