Initializes a new instance of the GroupChatEndpoint class for use by ASP.NET web applications in which the logging options can be configured through a web.config file.

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, _
	
webconfig 
As 
String _
)
Visual Basic (Usage)
Dim 
lookupServerAddress 
As 
Uri
Dim 
ocs 
As 
LocalEndpoint
Dim 
webconfig 
As 
String

Dim 
instance 
As New 

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

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 LocalEndpoint instance. 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.

webconfig
Type: System . . :: . . String

Path to a web application configuration file specifying logging options. For more information, see Logging and Troubleshooting .

See Also