TopicTypesOperationsExtensions.ListEventTypesAsync Method

Definition

List event types.

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

Parameters

operations
ITopicTypesOperations

The operations group for this extension method.

topicTypeName
System.String

Name of the topic type.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

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

Remarks

List event types for a topic type.

Applies to