'Declaration<SuppressMessageAttribute("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")> Event Connecting As CancelableConnectionEventHandler
'UsageDim 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.
| Property | Description |
|---|---|
| Cancel | Gets or sets the Cancel property. Set the Cancel property to true the event. (Inherited from Attachmate.Reflection.CancelableEventArgs) |
| ConnectionId | The current connection ID. ConnectionId is not relevant in the Connecting event. |
| ConnectionSettings | The current connection settings. |
| ConnectionType | The current connection type. |
See Also