IrDA Framework
ContentsIndexHome
PreviousUpNext
TwclCustomObexServer.Reject Method

Rejects the connection request.

Syntax
Pascal
function Reject(const Description: string): Integer;
Parameters 
Description 
const Description: string 
The string description of the rejection reason.  

If the function succeed the return value is 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.  

 

Copyright (c) 2006-2019. All rights reserved.