Gets an active ChatRoomSession with the specified URI.

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

Syntax

Visual Basic (Declaration)
Public 
ReadOnly 
Default 
Property 
Item ( _
	
uri 
As 
Uri _
) 
As 

ChatRoomSession
	
Get
Visual Basic (Usage)
Dim 
instance 
As 

GroupChatEndpoint
Dim 
uri 
As 
Uri
Dim 
value 
As 

ChatRoomSession

value = instance(
uri)
C#
public 

ChatRoomSession 
this[
	
Uri 
uri
] { 
get; }

Parameters

uri
Type: System . . :: . . Uri

URI of the specified item.

Property Value

Type: Microsoft.Rtc.Collaboration.GroupChat . . :: . . ChatRoomSession

The active chat room session with the specified URI, or null if no such session exists.

Exceptions

Exception Condition
ArgumentException

Thrown when invalid arguments are passed.

See Also