Initiates an asynchronous media termination
operation.
Namespace:
Microsoft.Rtc.Collaboration.ComponentModel
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Protected
MustOverride
Function
BeginTerminateMedia ( _
callDialogContext
As
CallDialogContext, _
isTerminatingSignalingSession
As
Boolean, _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
C# |
protected
abstract
IAsyncResult
BeginTerminateMedia(
CallDialogContext
callDialogContext,
bool
isTerminatingSignalingSession,
AsyncCallback
userCallback,
Object
state
)
|
Visual C++ |
protected:
virtual
IAsyncResult^
BeginTerminateMedia(
CallDialogContext^
callDialogContext,
bool
isTerminatingSignalingSession,
AsyncCallback^
userCallback,
Object^
state
)
abstract
|
JavaScript |
function
beginTerminateMedia(
callDialogContext,
isTerminatingSignalingSession,
userCallback,
state);
|
Parameters
-
callDialogContext
- Type:
Microsoft.Rtc.Collaboration
.
.
::
.
CallDialogContext
The signaling context for the session on which media should
be terminated.
-
isTerminatingSignalingSession
- Type:
Boolean
A Boolean flag that indicates whether the underlying
SignalingSession will be terminated after terminating the media
session.
-
userCallback
- Type:
AsyncCallback
The method to be called when the asynchronous operation is
completed.
-
state
- Type:
Object
A user-provided object that distinguishes this particular
asynchronous operation from other asynchronous operations.
Return Value
An IAsyncResult that
references the asynchronous operation.
Remarks
See Also