Edit

Share via


UserPinServices.BeginUpdatePin Method

Definition

Begins an asynchronous operation to set a new pin.

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

Parameters

newPin
String

New pin to be set. Cannot be null or empty.

options
UpdatePinOptions

The optional parameters to be used when setting new 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

newPin parameter is null or empty. options parameter contains invalid or restricted signaling headers.

Thrown when the endpoint is not in valid state to perform this operation.

Applies to