TwclCustomObexServer.Reject(string) Method
Rejects the connection request.
public function Reject(const Description: string): Integer;
Parameters
- Description
- Type: string
The string description of the rejection reason.
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.
An application calls this method from DoConnect
method or from OnConnect
event handler to reject the connection
request.