Dela via


NamespaceManager.GetSubscriptionAsync(String, String) Method

Definition

Asynchronously retrieves the topic from the service namespace.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.SubscriptionDescription> GetSubscriptionAsync (string topicPath, string name);
member this.GetSubscriptionAsync : string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.SubscriptionDescription>
Public Function GetSubscriptionAsync (topicPath As String, name As String) As Task(Of SubscriptionDescription)

Parameters

topicPath
String

The path of the topic relative to the service namespace base address.

name
String

The name of the subscription.

Returns

The asynchronous operation.

Applies to