Compartilhar via


WebPubSubResource.GetWebPubSubHub(String, CancellationToken) Método

Definição

Obter uma configuração de hub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}
  • Operação IdWebPubSubHubs_Get
public virtual Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubHubResource> GetWebPubSubHub (string hubName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebPubSubHub : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubHubResource>
override this.GetWebPubSubHub : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubHubResource>
Public Overridable Function GetWebPubSubHub (hubName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WebPubSubHubResource)

Parâmetros

hubName
String

O nome do hub.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

hubName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

hubName é nulo.

Aplica-se a