Conversation Constructor (LocalEndpoint, ConversationSettings)
Creates a new instance of the Conversation class, with given settings.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
localEndpoint As LocalEndpoint, _
settings As ConversationSettings _
)
'Usage
Dim localEndpoint As LocalEndpoint
Dim settings As ConversationSettings
Dim instance As New Conversation(localEndpoint, _
settings)
public Conversation(
LocalEndpoint localEndpoint,
ConversationSettings settings
)
Parameters
- localEndpoint
Type: Microsoft.Rtc.Collaboration.LocalEndpoint
The endpoint to which this conversation belongs.
- settings
Type: Microsoft.Rtc.Collaboration.ConversationSettings
The settings to use to initialize the conversation.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the localEndpoint or settings parameter is null. |
InvalidOperationException | User tries to create more than one conversation out of a conference type LocalEndpoint Supplied settings value contains an ID value that is already assigned to a different conversation in the given LocalEndpoint localEndpoint is in Terminating or Terminated state. |