Partilhar via


AudioVideoFlowTemplate Constructor (AudioVideoFlow)

Creates a new instance of the AudioVideoFlowTemplate class, based on the current state.

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

Syntax

'Declaration
Public Sub New ( _
    audioVideoFlow As AudioVideoFlow _
)
'Usage
Dim audioVideoFlow As AudioVideoFlow

Dim instance As New AudioVideoFlowTemplate(audioVideoFlow)
public AudioVideoFlowTemplate(
    AudioVideoFlow audioVideoFlow
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

Thrown when an AudioVideoFlowTemplate can't be constructed based on a Terminated AudioVideoFlow.

ArgumentNullException

Thrown when audioVideoFlow argument is null.

See Also

Reference

AudioVideoFlowTemplate Class

AudioVideoFlowTemplate Members

AudioVideoFlowTemplate Overload

Microsoft.Rtc.Collaboration.AudioVideo Namespace