共用方式為


WebPubSubHubCollection.GetAll(CancellationToken) Method

Definition

List hub settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs
  • Operation Id: WebPubSubHubs_List
  • Default Api Version: 2021-10-01
  • Resource: WebPubSubHubResource
public virtual Azure.Pageable<Azure.ResourceManager.WebPubSub.WebPubSubHubResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.WebPubSub.WebPubSubHubResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.WebPubSub.WebPubSubHubResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WebPubSubHubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of WebPubSubHubResource that may take multiple service requests to iterate over.

Applies to