PersistentChatEndpoint constructor

Initializes a new instance of the PersistentChatEndpoint class.

Namespace:  Microsoft.Rtc.Collaboration.PersistentChat
Assembly:  Microsoft.Rtc.Collaboration.PersistentChat (in Microsoft.Rtc.Collaboration.PersistentChat.dll)

public PersistentChatEndpoint(
	Uri groupChatServerAddress,
	LocalEndpoint ocs
)

Parameters

groupChatServerAddress
Type: System.Uri

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

ocs
Type: 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.

ExceptionCondition
ArgumentNullException

groupChatServerAddress or ocs is null.

Show:
© 2014 Microsoft