NamespaceManager.BeginCreateSubscription Method (SubscriptionDescription, Filter, AsyncCallback, Object)
Asynchronous version of M:Microsoft.ServiceBus.NamespaceManager.CreateSubscription(Microsoft.ServiceBus.Messaging.SubscriptionDescription,Microsoft.ServiceBus.Messaging.Filters.FilterExpression) method.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
public IAsyncResult BeginCreateSubscription(
SubscriptionDescription description,
Filter filter,
AsyncCallback callback,
object state
)
public:
IAsyncResult^ BeginCreateSubscription(
SubscriptionDescription^ description,
Filter^ filter,
AsyncCallback^ callback,
Object^ state
)
member BeginCreateSubscription :
description:SubscriptionDescription *
filter:Filter *
callback:AsyncCallback *
state:Object -> IAsyncResult
Public Function BeginCreateSubscription (
description As SubscriptionDescription,
filter As Filter,
callback As AsyncCallback,
state As Object
) As IAsyncResult
Parameters
description
Type: Microsoft.ServiceBus.Messaging.SubscriptionDescriptionThe subscription description object.
filter
Type: Microsoft.ServiceBus.Messaging.FilterThe filter expression used to capture messages satisfying the filtering expression value.
callback
Type: System.AsyncCallbackAn AsyncCallback delegate that references the method to invoke when the operation is complete.
state
Type: System.ObjectA user-defined object that contains state information about the asynchronous operation. This object is passed to the EndCreateSubscription delegate when the operation is complete.
Return Value
Type: System.IAsyncResult
An IAsyncResult object that represents the status of the asynchronous create subscription action.
See Also
BeginCreateSubscription Overload
NamespaceManager Class
Microsoft.ServiceBus Namespace
Return to top