InfoConnect for Unisys
Connecting Event


This event is triggered immediately before a connection is made.
Syntax
'Declaration
 
<SuppressMessageAttribute(Category="Microsoft.Design", 
   CheckId="CA1009:DeclareEventHandlersCorrectly", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")>
Event Connecting As CancelableConnectionEventHandler
'Usage
 
Dim instance As ITerminal
Dim handler As CancelableConnectionEventHandler
 
AddHandler instance.Connecting, handler
[SuppressMessage(Category="Microsoft.Design", 
   CheckId="CA1009:DeclareEventHandlersCorrectly", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")]
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
CancelGets or sets the Cancel property. Set the Cancel property to true the event. (Inherited from Attachmate.Reflection.CancelableEventArgs)
ConnectionIdThe current connection ID. ConnectionId is not relevant in the Connecting event.  
ConnectionSettingsThe current connection settings.  
ConnectionTypeThe current connection type.  
See Also