Edit

Share via


MediaProvider.BeginTerminateMedia Method

Definition

Begins the asynchronous operation to terminate media session for a given CallDialogContext.

protected:
 abstract IAsyncResult ^ BeginTerminateMedia(Microsoft::Rtc::Collaboration::CallDialogContext ^ callDialogContext, bool isTerminatingSignalingSession, AsyncCallback ^ userCallback, System::Object ^ state);
protected abstract IAsyncResult BeginTerminateMedia (Microsoft.Rtc.Collaboration.CallDialogContext callDialogContext, bool isTerminatingSignalingSession, AsyncCallback userCallback, object state);
abstract member BeginTerminateMedia : Microsoft.Rtc.Collaboration.CallDialogContext * bool * AsyncCallback * obj -> IAsyncResult

Parameters

callDialogContext
CallDialogContext

The signaling context for the session on which media should be terminated.

isTerminatingSignalingSession
Boolean

A Boolean flag that indicates whether the underlying SignalingSession will be terminated after terminating the media session.

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.

Remarks

This method terminates the MediaSession on the call.

Applies to