Share via


TopicTypesOperationsExtensions.ListAsync Method

Definition

List topic types.

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

Parameters

operations
ITopicTypesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List all registered topic types.

Applies to