nn::nex::JoinSessionOperation::Deny Member Function

Syntax

void Deny(
     const qResult & rOutcome = qResult(QERROR(DOCore, JoinDenied))
);

Parameters

Name Description
rOutcome [in] Specifies the value of the error code when denied (optional).

Return Values

None.

Description

Denies the request to join the session.

This function changes ApprovalState to Denied when called inside JoinApproval. If a JoinApproval callback has not been registered or neither Approve nor Deny are called inside the callback, the request to join is approved by default.

Revision History

2011/03/04
Initial version.

CONFIDENTIAL