Creates a new instance of the AudioVideoCall and binds this call to the given conversation.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
conversation 
As 

Conversation _
)
C#
public 
AudioVideoCall(
	

Conversation 
conversation
)
Visual C++
public:
AudioVideoCall(
	

Conversation^ 
conversation
)
JavaScript

Microsoft.Rtc.Collaboration.AudioVideo.AudioVideoCall = 
function(
conversation);

Parameters

conversation
Type: Microsoft.Rtc.Collaboration . . :: . Conversation
Conversation to which this call should be bound.

Remarks

By default, an AudioVideoCall will advertise for replaces support and early media support. Use IsReplacesSupportedand IsEarlyMediaSupportedproperties to override these settings.

Exceptions

Exception Condition
ArgumentNullException Thrown when the conversationparameter is null.

See Also