wclRfCommClientDoDisconnect Method |
Fires the OnDisconnect event.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected virtual void DoDisconnect(
int Reason
)
Protected Overridable Sub DoDisconnect (
Reason As Integer
)
protected:
virtual void DoDisconnect(
int Reason
)
Parameters
- 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