SALES: 1-800-867-1380

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)

Public Function BeginCreateSubscription (
	description As SubscriptionDescription,
	filter As Filter,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult


Type: Microsoft.ServiceBus.Messaging.SubscriptionDescription

The subscription description object.

Type: Microsoft.ServiceBus.Messaging.Filter

The filter expression used to capture messages satisfying the filtering expression value.

Type: System.AsyncCallback

An AsyncCallback delegate that references the method to invoke when the operation is complete.

Type: System.Object

A 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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft