GoogleCalendarClient.DeleteEventAsync Method

Definition

Delete an event

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

Parameters

calendarId
String

Calendar ID

eventId
String

Event ID

cancellationToken
CancellationToken

Cancellation token.

Returns

The Delete an event response.

Remarks

This operation is used to delete an event from a calendar.

Applies to