Udostępnij za pośrednictwem


NotificationHubOperationsExtensions.GetAsync Method

Definition

Lists the notification hubs associated with a namespace.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNotificationHubResponse> GetAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INotificationHubOperations operations, string namespaceName, string notificationHubName);
static member GetAsync : Microsoft.WindowsAzure.Management.ServiceBus.INotificationHubOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNotificationHubResponse>
<Extension()>
Public Function GetAsync (operations As INotificationHubOperations, namespaceName As String, notificationHubName As String) As Task(Of ServiceBusNotificationHubResponse)

Parameters

operations
INotificationHubOperations

Reference to the Microsoft.WindowsAzure.Management.ServiceBus.INotificationHubOperations.

namespaceName
String

Required. The namespace name.

notificationHubName
String

Required. The notification hub name.

Returns

A standard service response including an HTTP status code and request ID.

Applies to