NamespaceManager.BeginSubscriptionExists Method
Asynchronous version of SubscriptionExists(String, String) method.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public IAsyncResult BeginSubscriptionExists( string topicPath, string name, AsyncCallback callback, Object state )
Parameters
- topicPath
- Type: System.String
The path of the topic relative to the service namespace base address.
- name
- Type: System.String
The name of the subscription.
- callback
- Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- Type: System.Object
A user-defined object that contains state information about the asynchronous operation. This object is passed to the EndSubscriptionExists(IAsyncResult) delegate when the operation is complete.
Return Value
Type: System.IAsyncResultAn IAsyncResult object that references the asynchronous operation to check the existence of a subscription in the service namespace.