Conversation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Conversation(LocalEndpoint) |
Creates a new instance of the Conversation class. |
Conversation(LocalEndpoint, ConversationSettings) |
Creates a new instance of the Conversation class, with given settings. |
Conversation(LocalEndpoint)
Creates a new instance of the Conversation class.
public:
Conversation(Microsoft::Rtc::Collaboration::LocalEndpoint ^ localEndpoint);
public Conversation (Microsoft.Rtc.Collaboration.LocalEndpoint localEndpoint);
new Microsoft.Rtc.Collaboration.Conversation : Microsoft.Rtc.Collaboration.LocalEndpoint -> Microsoft.Rtc.Collaboration.Conversation
Parameters
- localEndpoint
- LocalEndpoint
The endpoint to which this conversation belongs.
Exceptions
Thrown when the localEndpoint
parameter is null.
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.
Applies to
Conversation(LocalEndpoint, ConversationSettings)
Creates a new instance of the Conversation class, with given settings.
public:
Conversation(Microsoft::Rtc::Collaboration::LocalEndpoint ^ localEndpoint, Microsoft::Rtc::Collaboration::ConversationSettings ^ settings);
public Conversation (Microsoft.Rtc.Collaboration.LocalEndpoint localEndpoint, Microsoft.Rtc.Collaboration.ConversationSettings settings);
new Microsoft.Rtc.Collaboration.Conversation : Microsoft.Rtc.Collaboration.LocalEndpoint * Microsoft.Rtc.Collaboration.ConversationSettings -> Microsoft.Rtc.Collaboration.Conversation
Parameters
- localEndpoint
- LocalEndpoint
The endpoint to which this conversation belongs.
- settings
- ConversationSettings
The settings to use to initialize the conversation.
Exceptions
Thrown when the localEndpoint
or settings
parameter is null.
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.