wclRfCommServerDisconnectEvent Delegate |
The prototype of the OnDisconnect event handler for
server connections.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public delegate void wclRfCommServerDisconnectEvent(
Object Sender,
wclRfCommServerClientConnection Client,
int Reason
)
Public Delegate Sub wclRfCommServerDisconnectEvent (
Sender As Object,
Client As wclRfCommServerClientConnection,
Reason As Integer
)
public delegate void wclRfCommServerDisconnectEvent(
Object^ Sender,
wclRfCommServerClientConnection^ Client,
int Reason
)
Parameters
- Sender Object
- The object that initiated the event.
- Client wclRfCommServerClientConnection
- The
wclRfCommServerClientConnection 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