TwclCustomObexClient.Abort(string) Method

Aborts current operation executing.

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

Parameters

Description
Type: string

An optional text value that describes the abort 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.

Only Pun and Get operations can be aborted.