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


In This Topic
    Disconnected Event
    In This Topic
    The event occurs after the connection to the host has been disconnected.
    Syntax
    'Declaration
     
    
    <SuppressMessageAttribute(Category="Microsoft.Design", 
       CheckId="CA1009:DeclareEventHandlersCorrectly", 
       Scope="", 
       Target="", 
       MessageId="", 
       Justification="")>
    Event Disconnected As ConnectionEventHandler
    'Usage
     
    
    Dim instance As ITerminal
    Dim handler As ConnectionEventHandler
     
    AddHandler instance.Disconnected, handler
    [SuppressMessage(Category="Microsoft.Design", 
       CheckId="CA1009:DeclareEventHandlersCorrectly", 
       Scope="", 
       Target="", 
       MessageId="", 
       Justification="")]
    event ConnectionEventHandler Disconnected
    Event Data

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

    PropertyDescription
    Connection ID.  
    Connection settings.  
    Connection type option.  
    See Also