TeamsActivityHandler.OnTeamsMeetingParticipantsJoinAsync 方法

定义

从连接器接收 Teams 参与者加入事件活动时调用。 在派生类中重写此项,以便在添加会议参与者时提供逻辑。

protected virtual System.Threading.Tasks.Task OnTeamsMeetingParticipantsJoinAsync (Microsoft.Bot.Schema.Teams.MeetingParticipantsEventDetails meeting, Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IEventActivity> turnContext, System.Threading.CancellationToken cancellationToken);
abstract member OnTeamsMeetingParticipantsJoinAsync : Microsoft.Bot.Schema.Teams.MeetingParticipantsEventDetails * Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IEventActivity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnTeamsMeetingParticipantsJoinAsync : Microsoft.Bot.Schema.Teams.MeetingParticipantsEventDetails * Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IEventActivity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnTeamsMeetingParticipantsJoinAsync (meeting As MeetingParticipantsEventDetails, turnContext As ITurnContext(Of IEventActivity), cancellationToken As CancellationToken) As Task

参数

meeting
MeetingParticipantsEventDetails

会议的详细信息。

turnContext
ITurnContext<IEventActivity>

此轮次的强类型上下文对象。

cancellationToken
CancellationToken

其他对象或线程可以使用的取消令牌来接收取消通知。

返回

表示要执行的工作的任务。

适用于