wclClientConnectionDisconnectEvent Delegate |
The prototype of the OnDisconnect event handler for
client connections.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxpublic delegate void wclClientConnectionDisconnectEvent(
Object Sender,
int Reason
)
Public Delegate Sub wclClientConnectionDisconnectEvent (
Sender As Object,
Reason As Integer
)
public delegate void wclClientConnectionDisconnectEvent(
Object^ Sender,
int Reason
)
Parameters
- Sender Object
- The object that initiated the event.
- Reason Int32
- The disconnection code. If the
parameter is WCL_E_SUCCESS the connection was closed
by the Disconnect call. Otherwise indicates the disconnection
reason.
See Also