Click or drag to resize

wclRfCommServerDisconnectEvent Delegate

The prototype of the OnDisconnect event handler for server connections.

Namespace:  wclBluetooth
Assembly:  wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.4.0.0 (7.4.0.0)
Syntax
public delegate void wclRfCommServerDisconnectEvent(
	Object Sender,
	wclRfCommServerClientConnection Client,
	int Reason
)

Parameters

Sender
Type: SystemObject
The object that initiated the event.
Client
Type: wclBluetoothwclRfCommServerClientConnection
The wclRfCommServerClientConnection represents a remote connected client.
Reason
Type: SystemInt32
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