Subscription::CreateAsync Method (String^, String^, String^, SubscriptionSettings^)

 

Asynchronously creates a subscription.

Namespace:   Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

public:
static Task<Subscription^>^ CreateAsync(
	String^ topicPath,
	String^ subscriptionName,
	String^ connectionString,
	SubscriptionSettings^ settings
)

Parameters

topicPath
Type: System::String^

The topic path.

subscriptionName
Type: System::String^

The subscription name.

connectionString
Type: System::String^

The connection string.

settings
Type: Microsoft.WindowsAzure.Messaging::SubscriptionSettings^

The subscription settings.

Return Value

Type: System.Threading.Tasks::Task<Subscription^>^

The created subscription.

Return to top
Show: