InfoConnect for Unisys
Connected Event


The event occurs after the connection to the host has been made.
Syntax
'Declaration
 
<SuppressMessageAttribute(Category="Microsoft.Design", 
   CheckId="CA1009:DeclareEventHandlersCorrectly", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")>
Event Connected As ConnectionEventHandler
'Usage
 
Dim instance As ITerminal
Dim handler As ConnectionEventHandler
 
AddHandler instance.Connected, handler
[SuppressMessage(Category="Microsoft.Design", 
   CheckId="CA1009:DeclareEventHandlersCorrectly", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")]
event ConnectionEventHandler Connected
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
ConnectionIdConnection ID.  
ConnectionSettingsConnection settings.  
ConnectionTypeConnection type option.  
See Also