Edit

Share via


ApplicationPinServices.BeginVerifyPin Method

Definition

Begins an asynchronous operation to verify given pin for the uri.

public:
 IAsyncResult ^ BeginVerifyPin(System::String ^ uriToVerify, System::String ^ pin, Microsoft::Rtc::Collaboration::PinManagement::VerifyPinOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginVerifyPin (string uriToVerify, string pin, Microsoft.Rtc.Collaboration.PinManagement.VerifyPinOptions options, AsyncCallback userCallback, object state);
member this.BeginVerifyPin : string * string * Microsoft.Rtc.Collaboration.PinManagement.VerifyPinOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginVerifyPin (uriToVerify As String, pin As String, options As VerifyPinOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

uriToVerify
String

The uri for which we need to verify the pin. This can be a global telephone uri, telephone extension or a SIP uri. Cannot be null or empty.

pin
String

Pin to be verified. Cannot be null or empty.

options
VerifyPinOptions

The optional parameters to be used when verifying given pin.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

uriToVerify parameter is null, empty or invalid sip URI or tel URI. pin parameter is null or empty. options parameter contains invalid or restricted signaling headers.

Endpoint is not in valid state to perform this operation.

Pin services uri is not available.

Applies to