Office365GroupsClient.CreateCalendarEventAsync Method

Definition

Create a group event (V2)

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Office365Groups.Models.CreateCalendarEventResponse> CreateCalendarEventAsync(string groupId, Azure.Connectors.Sdk.Office365Groups.Models.UpdateCalendarEventHTMLRequest input, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateCalendarEventAsync : string * Azure.Connectors.Sdk.Office365Groups.Models.UpdateCalendarEventHTMLRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Office365Groups.Models.CreateCalendarEventResponse>
override this.CreateCalendarEventAsync : string * Azure.Connectors.Sdk.Office365Groups.Models.UpdateCalendarEventHTMLRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Office365Groups.Models.CreateCalendarEventResponse>
Public Overridable Function CreateCalendarEventAsync (groupId As String, input As UpdateCalendarEventHTMLRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateCalendarEventResponse)

Parameters

groupId
String

Group Id

input
UpdateCalendarEventHTMLRequest

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Create a group event (V2) response.

Remarks

This operation is used to create a new event in a group calendar.

Applies to