Freigeben über


ProviderRegistrationCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft die Details zur Anbieterregistrierung ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Vorgangs-IdProviderRegistrations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.ProviderRegistrationResource>> GetAsync (string providerNamespace, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.ProviderRegistrationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.ProviderRegistrationResource>>
Public Overridable Function GetAsync (providerNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProviderRegistrationResource))

Parameter

providerNamespace
String

Der Name des in ProviderHub gehosteten Ressourcenanbieters.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

providerNamespace ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

providerNamespace ist NULL.

Gilt für: