Office365GroupsClient.CreateCalendarEventAsync 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 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
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.