MeetingStartHandler<TState> Delegate
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.
Function for handling Microsoft Teams meeting start events.
public delegate System.Threading.Tasks.Task MeetingStartHandler<TState>(ITurnContext turnContext, TState turnState, MeetingStartEventDetails meeting, CancellationToken cancellationToken) where TState : TurnState;
type MeetingStartHandler<'State (requires 'State :> TurnState)> = delegate of ITurnContext * 'State * MeetingStartEventDetails * CancellationToken -> Task
Public Delegate Function MeetingStartHandler(Of TState)(turnContext As ITurnContext, turnState As TState, meeting As MeetingStartEventDetails, cancellationToken As CancellationToken) As Task
- TState
Type of the turn state. This allows for strongly typed access to the turn state.
- turnContext
- ITurnContext
A strongly-typed context object for this turn.
- turnState
- TState
The turn state object that stores arbitrary data for this turn.
- meeting
- MeetingStartEventDetails
The details of the meeting.
- cancellationToken
- CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
A task that represents the work queued to execute.
Producto | Versiones |
---|---|
Microsoft Teams Framework .NET SDK | Latest |