InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / Closing Event


In This Topic
    Closing Event (ITerminal)
    In This Topic
    This event occurs when the request to close the session has been made.
    Syntax
    'Declaration
     
    
    <SuppressMessageAttribute(Category="Microsoft.Design", 
       CheckId="CA1009:DeclareEventHandlersCorrectly", 
       Scope="", 
       Target="", 
       MessageId="", 
       Justification="")>
    Event Closing As CancelableEventHandler
    'Usage
     
    
    Dim instance As ITerminal
    Dim handler As CancelableEventHandler
     
    AddHandler instance.Closing, handler
    [SuppressMessage(Category="Microsoft.Design", 
       CheckId="CA1009:DeclareEventHandlersCorrectly", 
       Scope="", 
       Target="", 
       MessageId="", 
       Justification="")]
    event CancelableEventHandler Closing
    Event Data

    The event handler receives an argument of type CancelableEventArgs containing data related to this event. The following CancelableEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the Cancel property. Set the Cancel property to true the event.  
    See Also