Copies the properties from the template to the AudioVideoFlow instance.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
Initialize ( _
	
template 
As 

AudioVideoFlowTemplate _
)
C#
public 
void 
Initialize(
	

AudioVideoFlowTemplate 
template
)
Visual C++
public:
void 
Initialize(
	

AudioVideoFlowTemplate^ 
template
)
JavaScript
function 
initialize(
template);

Parameters

template
Type: Microsoft.Rtc.Collaboration.AudioVideo . . :: . AudioVideoFlowTemplate
The template to use.

Exceptions

Exception Condition
InvalidOperationException Thrown when the method is not called within the context of the AudioVideoCall FlowCreated event, or when the AudioVideoFlow is not in the Idle state.
ArgumentNullException Thrown when the template argument is null.

See Also