Language

WebPubSubChatServiceClient.GetRoomMembers Method

Definition

Overloads

Name Description
GetRoomMembers(String, Nullable<Int32>, String, RequestContext)

[Protocol Method] Get room members.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetRoomMembers(String, Nullable<Int32>, String, CancellationToken)

Get room members.

GetRoomMembers(String, Nullable<Int32>, String, RequestContext)

Source:
WebPubSubChatServiceClient.cs

[Protocol Method] Get room members.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Pageable<BinaryData> GetRoomMembers(string roomId, int? maxPageSize, string continuationToken, Azure.RequestContext context);
abstract member GetRoomMembers : string * Nullable<int> * string * Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetRoomMembers : string * Nullable<int> * string * Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetRoomMembers (roomId As String, maxPageSize As Nullable(Of Integer), continuationToken As String, context As RequestContext) As Pageable(Of BinaryData)

Parameters

roomId
String

Room identifier.

maxPageSize
Nullable<Int32>

The maximum number of result items per page.

continuationToken
String

Continuation token for pagination.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

roomId is null.

roomId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetRoomMembers(String, Nullable<Int32>, String, CancellationToken)

Source:
WebPubSubChatServiceClient.cs

Get room members.

public virtual Azure.Pageable<Azure.Messaging.WebPubSub.Chat.WebPubSubChatRoomMember> GetRoomMembers(string roomId, int? maxPageSize = default, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoomMembers : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Messaging.WebPubSub.Chat.WebPubSubChatRoomMember>
override this.GetRoomMembers : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Messaging.WebPubSub.Chat.WebPubSubChatRoomMember>
Public Overridable Function GetRoomMembers (roomId As String, Optional maxPageSize As Nullable(Of Integer) = Nothing, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WebPubSubChatRoomMember)

Parameters

roomId
String

Room identifier.

maxPageSize
Nullable<Int32>

The maximum number of result items per page.

continuationToken
String

Continuation token for pagination.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

roomId is null.

roomId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to