Language

WebPubSubChatServiceClient.GetUsersAsync Method

Definition

Overloads

Name Description
GetUsersAsync(Nullable<Int32>, RequestContext)

[Protocol Method] List all users with pagination.

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

List all users with pagination.

GetUsersAsync(Nullable<Int32>, RequestContext)

Source:
WebPubSubChatServiceClient.cs

[Protocol Method] List all users with pagination.

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

Parameters

maxPageSize
Nullable<Int32>

The maximum number of result items per page.

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

Service returned a non-success status code.

Applies to

GetUsersAsync(Nullable<Int32>, CancellationToken)

Source:
WebPubSubChatServiceClient.cs

List all users with pagination.

public virtual Azure.AsyncPageable<Azure.Messaging.WebPubSub.Chat.WebPubSubChatUser> GetUsersAsync(int? maxPageSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsersAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Messaging.WebPubSub.Chat.WebPubSubChatUser>
override this.GetUsersAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Messaging.WebPubSub.Chat.WebPubSubChatUser>
Public Overridable Function GetUsersAsync (Optional maxPageSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebPubSubChatUser)

Parameters

maxPageSize
Nullable<Int32>

The maximum number of result items per page.

cancellationToken
CancellationToken

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

Returns

Exceptions

Service returned a non-success status code.

Applies to