InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / Connecting Event


In This Topic
    Connecting Event
    In This Topic
    This event is triggered immediately before a connection is made.
    Syntax
    'Declaration
     
    
    <SuppressMessageAttribute("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")>
    Event Connecting As CancelableConnectionEventHandler
    'Usage
     
    
    Dim instance As ITerminal
    Dim handler As CancelableConnectionEventHandler
     
    AddHandler instance.Connecting, handler
    [SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")]
    event CancelableConnectionEventHandler Connecting
    Event Data

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

    PropertyDescription
    Gets or sets the Cancel property. Set the Cancel property to true the event. (Inherited from Attachmate.Reflection.CancelableEventArgs)
    The current connection ID. ConnectionId is not relevant in the Connecting event.  
    The current connection settings.  
    The current connection type.  
    See Also