共用方式為


SubscriptionsOperationsExtensions.ListByTopicAsync Method

Definition

List all the subscriptions under a specified topic. https://msdn.microsoft.com/en-us/library/azure/mt639400.aspx

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceBus.Fluent.Models.SubscriptionInner>> ListByTopicAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.ISubscriptionsOperations operations, string resourceGroupName, string namespaceName, string topicName, System.Threading.CancellationToken cancellationToken = default);
static member ListByTopicAsync : Microsoft.Azure.Management.ServiceBus.Fluent.ISubscriptionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceBus.Fluent.Models.SubscriptionInner>>
<Extension()>
Public Function ListByTopicAsync (operations As ISubscriptionsOperations, resourceGroupName As String, namespaceName As String, topicName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SubscriptionInner))

Parameters

operations
ISubscriptionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

topicName
String

The topic name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to