Freigeben über


EventGridNamespaceResource.GetNamespaceTopicAsync Methode

Definition

Ruft Eigenschaften eines Namespacethemas ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}
  • Vorgang IdNamespaceTopics_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.NamespaceTopicResource>> GetNamespaceTopicAsync (string topicName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNamespaceTopicAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.NamespaceTopicResource>>
override this.GetNamespaceTopicAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.NamespaceTopicResource>>
Public Overridable Function GetNamespaceTopicAsync (topicName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NamespaceTopicResource))

Parameter

topicName
String

Name des Namespacethemas.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

topicName ist NULL.

Gilt für: