GoogleCalendarClient.DeleteEventAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.