SALES: 1-800-867-1380

NamespaceManager.BeginCreateSubscription Method (String, String, RuleDescription, AsyncCallback, Object)

Asynchronous version of CreateSubscription method.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

'Declaration
Public Function BeginCreateSubscription ( _
	topicPath As String, _
	name As String, _
	ruleDescription As RuleDescription, _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
'Usage
Dim instance As NamespaceManager 
Dim topicPath As String 
Dim name As String 
Dim ruleDescription As RuleDescription 
Dim callback As AsyncCallback 
Dim state As Object 
Dim returnValue As IAsyncResult 

returnValue = instance.BeginCreateSubscription(topicPath, _
	name, ruleDescription, callback, _
	state)

Parameters

topicPath
Type: System.String
The topic path relative to the service namespace base address.
name
Type: System.String
The name of the subscription.
ruleDescription
Type: Microsoft.ServiceBus.Messaging.RuleDescription
The rule description object.
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 EndCreateSubscription(IAsyncResult) delegate when the operation is complete.

Return Value

Type: System.IAsyncResult
An IAsyncResult object that represents the status of the asynchronous create subscription action.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft