GoogleCalendarClient.GetEventAsync(String, String, CancellationToken) Method

Definition

Get an event

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.GoogleCalendar.Models.ResponseEvent> GetEventAsync(string calendarId, string eventId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GoogleCalendar.Models.ResponseEvent>
override this.GetEventAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GoogleCalendar.Models.ResponseEvent>
Public Overridable Function GetEventAsync (calendarId As String, eventId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResponseEvent)

Parameters

calendarId
String

Calendar ID

eventId
String

Event ID

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get an event response.

Remarks

This operation is used to get the details of a specific event from a calendar.

Applies to