GoogleCalendarClient.CreateEventAsync 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.
Create an event
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.GoogleCalendar.Models.ResponseEvent> CreateEventAsync(string calendarId, Azure.Connectors.Sdk.GoogleCalendar.Models.RequestEvent input, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateEventAsync : string * Azure.Connectors.Sdk.GoogleCalendar.Models.RequestEvent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GoogleCalendar.Models.ResponseEvent>
override this.CreateEventAsync : string * Azure.Connectors.Sdk.GoogleCalendar.Models.RequestEvent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GoogleCalendar.Models.ResponseEvent>
Public Overridable Function CreateEventAsync (calendarId As String, input As RequestEvent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResponseEvent)
Parameters
- calendarId
- String
Calendar ID
- input
- RequestEvent
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Create an event response.
Remarks
This operation is used to create an event on a specific calendar.