wclServerConnectionDisconnectEvent Delegate |
The prototype of the OnDisconnect event handler for
server connections.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxpublic delegate void wclServerConnectionDisconnectEvent(
Object Sender,
wclServerClientConnection Client,
int Reason
)
Public Delegate Sub wclServerConnectionDisconnectEvent (
Sender As Object,
Client As wclServerClientConnection,
Reason As Integer
)
public delegate void wclServerConnectionDisconnectEvent(
Object^ Sender,
wclServerClientConnection^ Client,
int Reason
)
Parameters
- Sender Object
- The object that initiated the event.
- Client wclServerClientConnection
- The
wclServerClientConnection represents a remote
connected client.
- 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