NamespaceManager.GetSubscriptionAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.