PersistentChatEndpoint(Uri, LocalEndpoint) Constructor

Definition

Initializes a new instance of the PersistentChatEndpoint class.

public:
 PersistentChatEndpoint(Uri ^ groupChatServerAddress, Microsoft::Rtc::Collaboration::LocalEndpoint ^ ocs);
public PersistentChatEndpoint(Uri groupChatServerAddress, Microsoft.Rtc.Collaboration.LocalEndpoint ocs);
new Microsoft.Rtc.Collaboration.PersistentChat.PersistentChatEndpoint : Uri * Microsoft.Rtc.Collaboration.LocalEndpoint -> Microsoft.Rtc.Collaboration.PersistentChat.PersistentChatEndpoint
Public Sub New (groupChatServerAddress As Uri, ocs As LocalEndpoint)

Parameters

groupChatServerAddress
Uri

The chat server address. By convention, the chat server address is usually set to "lyncchat@yourdomain.com".

ocs
Microsoft.Rtc.Collaboration.LocalEndpoint

The local endpoint instance. This endpoint must be registered and connected independently, prior to instantiating a PersistentChatEndpoint, as it provides the conduit for all messages delivered between the PersistentChatEndpoint and the chat server.

Exceptions

groupChatServerAddress or ocs is null.

Applies to