Rejects the connection request.
- Parameters
-
Description | The string description of the rejection reason. |
- Returns
- 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.