다음을 통해 공유


TopicTypeResource.GetEventTypes(CancellationToken) Method

Definition

List event types for a topic type.

  • Request Path: /providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes
  • Operation Id: TopicTypes_ListEventTypes
  • Default Api Version: 2024-06-01-preview
  • Resource: TopicTypeResource
public virtual Azure.Pageable<Azure.ResourceManager.EventGrid.Models.EventTypeUnderTopic> GetEventTypes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventTypes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventGrid.Models.EventTypeUnderTopic>
override this.GetEventTypes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventGrid.Models.EventTypeUnderTopic>
Public Overridable Function GetEventTypes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EventTypeUnderTopic)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of EventTypeUnderTopic that may take multiple service requests to iterate over.

Applies to