Applies changes from the specified
template.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
BeginApplyChanges ( _
template
As
AudioVideoFlowTemplate, _
headers
As
IEnumerable(
Of
SignalingHeader), _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
JavaScript |
function
beginApplyChanges(
template,
headers,
userCallback,
state);
|
Parameters
-
template
- Type:
Microsoft.Rtc.Collaboration.AudioVideo
.
.
::
.
AudioVideoFlowTemplate
The template to be used as a reference.
-
headers
- Type:
IEnumerable
<
(Of
<
(
SignalingHeader
>
)
>
)
The signaling headers.
-
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.
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when the AudioVideoFlow is not in the Active state, when
the template has no channels, or when there is already an
asynchronous operation in progress. |
ArgumentNullException
|
Thrown when the template argument is null. |
See Also