Initializes a new instance of the GroupChatEndpoint class.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
lookupServerAddress 
As 
Uri, _
	
ocs 
As 
LocalEndpoint _
)
Visual Basic (Usage)
Dim 
lookupServerAddress 
As 
Uri
Dim 
ocs 
As 
LocalEndpoint

Dim 
instance 
As New 

GroupChatEndpoint(
lookupServerAddress, _
	
ocs)
C#
public 
GroupChatEndpoint(
	
Uri 
lookupServerAddress,
	
LocalEndpoint 
ocs
)

Parameters

lookupServerAddress
Type: System . . :: . . Uri

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

ocs
Type: Microsoft.Rtc.Collaboration . . :: . . LocalEndpoint

The LocalEndpointinstance. This endpoint must be registered and connected independently, prior to instantiating a GroupChatEndpoint , as it provides the conduit for all messages delivered between the GroupChatEndpoint and the Group Chat server.

See Also