Share via


OperationsExtensions.ListAsync(IOperations, CancellationToken) Method

Definition

Lists all of the available Event Hub REST API operations.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Models.Operation>> ListAsync (this Microsoft.Azure.Management.EventHub.IOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.EventHub.IOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Models.Operation>>
<Extension()>
Public Function ListAsync (operations As IOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Operation))

Parameters

operations
IOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to