TwclCustomObexClient.Disconnect(string) Method

Disconnects from an OBEX server.

Namespace: wclObex
public
 function Disconnect(const Description: string): Integer;

Parameters

Description
Type: string

An optional text value that describes the disconnect reason or provides any other information for a user on the server size. If this parameter is an empty string the description will not be sent to a server.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.