Creates a new instance of the Conversation class.

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

Syntax

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

LocalEndpoint _
)
C#
public 
Conversation(
	

LocalEndpoint 
localEndpoint
)
Visual C++
public:
Conversation(
	

LocalEndpoint^ 
localEndpoint
)
JavaScript

Microsoft.Rtc.Collaboration.Conversation = 
function(
localEndpoint);

Parameters

localEndpoint
Type: Microsoft.Rtc.Collaboration . . :: . LocalEndpoint
The endpoint to which this conversation belongs.

Exceptions

Exception Condition
ArgumentNullException Thrown when the localEndpointparameter is null.
InvalidOperationException Thrown when the user tries to create more than one conversation out of a conference type endpoint, or when the localEndpointis in terminating or terminated state.

See Also