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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET