Conversation Constructor (LocalEndpoint)
Creates a new instance of the Conversation class.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
localEndpoint As LocalEndpoint _
)
'Usage
Dim localEndpoint As LocalEndpoint
Dim instance As New Conversation(localEndpoint)
public Conversation(
LocalEndpoint localEndpoint
)
Parameters
- localEndpoint
Type: Microsoft.Rtc.Collaboration.LocalEndpoint
The endpoint to which this conversation belongs.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the localEndpoint parameter is null. |
InvalidOperationException | Thrown when the user tries to create more than one conversation out of a conference type endpoint, or when the localEndpoint is in terminating or terminated state. |