Edit

Share via


AudioVideoCall.BeginPark(CallParkOptions, AsyncCallback, Object) Method

Definition

Initiates a park request to the provisioned call park server.

public:
 IAsyncResult ^ BeginPark(Microsoft::Rtc::Collaboration::CallParkOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginPark (Microsoft.Rtc.Collaboration.CallParkOptions options, AsyncCallback userCallback, object state);
member this.BeginPark : Microsoft.Rtc.Collaboration.CallParkOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginPark (options As CallParkOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

options
CallParkOptions

Call park options. This parameter value can be null

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

Thrown when options parameter contains invalid or restricted signaling headers.

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

Remarks

When the park operation completes successfully, this call will be terminated. Other calls in the same conversation will continue to stay established.

Applies to