ConnectionStatus Event
Fired to indicate changes in connection state.
Syntax
[VB.NET] Public Event OnConnectionStatus As OnConnectionStatusHandler
[C#] public event OnConnectionStatusHandler OnConnectionStatus; public delegate void OnConnectionStatusHandler(object sender, NntpConnectionStatusEventArgs e); class NntpConnectionStatusEventArgs : EventArgs { string ConnectionEvent {get;} int StatusCode {get;} string Description {get;} }
Remarks
The ConnectionStatus event is fired when the connection state changes: completion of a firewall or proxy connection, completion of a security handshake, etc.
The ConnectionEvent parameter indicates the type of connection event. Values may include:
Firewall connection complete. | |
SSL or S/Shell handshake complete (where applicable). | |
Remote host connection complete. | |
Remote host disconnected. | |
SSL or S/Shell connection broken. | |
Firewall host disconnected. |