ICalendarConnector.GetEventsAsync 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.
Get the user's calendar events.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.Plugins.MsGraph.Models.CalendarEvent>> GetEventsAsync(int? top, int? skip, string? select, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventsAsync : Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.SemanticKernel.Plugins.MsGraph.Models.CalendarEvent>>
Public Function GetEventsAsync (top As Nullable(Of Integer), skip As Nullable(Of Integer), select As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of CalendarEvent))
Parameters
- select
- String
Optionally select which event properties to get.
- cancellationToken
- CancellationToken
Cancellation token
Returns
The user's calendar events.