ConferenceServices.BeginVerifyPasscode Method
Gets whether the supplied passcode is valid for the conference.
Namespace: Microsoft.Rtc.Collaboration.ConferenceManagement
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginVerifyPasscode ( _
conferenceAddress As RealTimeAddress, _
passcode As String, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As ConferenceServices
Dim conferenceAddress As RealTimeAddress
Dim passcode As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginVerifyPasscode(conferenceAddress, _
passcode, userCallback, state)
public IAsyncResult BeginVerifyPasscode(
RealTimeAddress conferenceAddress,
string passcode,
AsyncCallback userCallback,
Object state
)
Parameters
- conferenceAddress
Type: Microsoft.Rtc.Signaling.RealTimeAddress
The conference address.
- passcode
Type: System.String
The passcode to verify.
- userCallback
Type: System.AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Return Value
Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the method failed to issue the request or when the endpoint does not support privileged operations. |
ArgumentNullException | Thrown when the supplied conference address or passcode were null. |
ArgumentException | Thrown when the supplied passcode was empty. |
Remarks
This method requires an endpoint that supports privileged operations.