Language

WebPubSubChatServiceClient.GetRolesAsync Method

Definition

Overloads

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

[Protocol Method] Query roles in a hub.

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

Query roles in a hub.

GetRolesAsync(Nullable<Int32>, String, RequestContext)

Source:
WebPubSubChatServiceClient.cs

[Protocol Method] Query roles in a hub.

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

Parameters

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

Service returned a non-success status code.

Applies to

GetRolesAsync(Nullable<Int32>, String, CancellationToken)

Source:
WebPubSubChatServiceClient.cs

Query roles in a hub.

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

Parameters

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

Service returned a non-success status code.

Applies to