PersistentChatEndpoint.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Item[String] |
Gets an active ChatRoomSession with the specified name. The name is not case sensitive. |
| Item[Uri] |
Gets an active ChatRoomSession with the specified URI. |
Item[String]
Gets an active ChatRoomSession with the specified name. The name is not case sensitive.
public:
property Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSession ^ default[System::String ^] { Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSession ^ get(System::String ^ name); };
public Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSession this[string name] { get; }
member this.Item(string) : Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSession
Default Public ReadOnly Property Item(name As String) As ChatRoomSession
Parameters
- name
- String
Property Value
The active chat room session with the specified name, or null if no such session exists.
Exceptions
name is null or empty.
Applies to
Item[Uri]
Gets an active ChatRoomSession with the specified URI.
public:
property Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSession ^ default[Uri ^] { Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomSession ^ get(Uri ^ uri); };
public Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSession this[Uri uri] { get; }
member this.Item(Uri) : Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomSession
Default Public ReadOnly Property Item(uri As Uri) As ChatRoomSession
Parameters
- uri
- Uri
Property Value
The active chat room session with the specified URI, or null if no such session exists.
Exceptions
uri is null.
uri is not a valid chat room URI.