Attaches an AudioVideoFlow instance.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
AttachFlow ( _
	
audioVideoFlow 
As 

AudioVideoFlow _
)
C#
public 
void 
AttachFlow(
	

AudioVideoFlow 
audioVideoFlow
)
Visual C++
public:
void 
AttachFlow(
	

AudioVideoFlow^ 
audioVideoFlow
)
JavaScript
function 
attachFlow(
audioVideoFlow);

Parameters

audioVideoFlow
Type: Microsoft.Rtc.Collaboration.AudioVideo . . :: . AudioVideoFlow
The AudioVideoFlow instance to be attached.

Exceptions

Exception Condition
ArgumentNullException Thrown when the audioVideoFlow argument is null.
InvalidOperationException Thrown when another AudioVideoFlow instance is already attached or when the specified AudioVideoFlow instance is already attached to another ToneController.

See Also