Attachmate.Reflection.Framework Namespace > Application Class : ApplicationClosing Event |
'Declaration
<SuppressMessageAttribute(Category="Microsoft.Design", CheckId="CA1009:DeclareEventHandlersCorrectly", Scope="", Target="", MessageId="", Justification="")> Public Event ApplicationClosing As ApplicationClosingEventHandler
'Usage
Dim instance As Application Dim handler As ApplicationClosingEventHandler AddHandler instance.ApplicationClosing, handler
[SuppressMessage(Category="Microsoft.Design", CheckId="CA1009:DeclareEventHandlersCorrectly", Scope="", Target="", MessageId="", Justification="")] public event ApplicationClosingEventHandler ApplicationClosing
The event handler receives an argument of type ApplicationClosingEventArgs containing data related to this event. The following ApplicationClosingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | A Boolean value to indicate whether to cancel the event. Set Cancel to true to cancel the event. |