NamespaceManager.CreateNotificationHubAsync Method (NotificationHubDescription)

 

Asynchronously creates a new notification hub with the properties specified in the description parameter.

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

public Task<NotificationHubDescription> CreateNotificationHubAsync(
	NotificationHubDescription description
)

Parameters

description
Type: Microsoft.ServiceBus.Notifications.NotificationHubDescription

The description object describing the attributes with which the new notification hub will be created.

Return Value

Type: System.Threading.Tasks.Task<NotificationHubDescription>

A NotificationHubDescription object with the description of the newly created notification hub.

Return to top
Show: