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)
Syntax
public Task<NotificationHubDescription> CreateNotificationHubAsync(
NotificationHubDescription description
)
public:
Task<NotificationHubDescription^>^ CreateNotificationHubAsync(
NotificationHubDescription^ description
)
member CreateNotificationHubAsync :
description:NotificationHubDescription -> Task<NotificationHubDescription>
Public Function CreateNotificationHubAsync (
description As NotificationHubDescription
) As Task(Of NotificationHubDescription)
Parameters
description
Type: Microsoft.ServiceBus.Notifications.NotificationHubDescriptionThe 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.
See Also
NamespaceManager Class
Microsoft.ServiceBus Namespace
Return to top