OperationsExtensions.ListAsync(IOperations, CancellationToken) Method

Definition

List available operations.

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

Parameters

operations
IOperations

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Operation>>

Remarks

List the available operations supported by the Microsoft.EventGrid resource provider.

Applies to