Share via


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

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.

See Also

Reference

Conversation Class

Conversation Members

Conversation Overload

Microsoft.Rtc.Collaboration Namespace