Taal

TeamsActivityHandler.OnTeamsTabSubmitAsync Methode

Definitie

Overschrijf dit in een afgeleide klasse om logica te bieden voor wanneer een tabblad wordt verzonden.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TabResponse> OnTeamsTabSubmitAsync(Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> turnContext, Microsoft.Bot.Schema.Teams.TabSubmit tabSubmit, System.Threading.CancellationToken cancellationToken);
abstract member OnTeamsTabSubmitAsync : Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> * Microsoft.Bot.Schema.Teams.TabSubmit * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TabResponse>
override this.OnTeamsTabSubmitAsync : Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> * Microsoft.Bot.Schema.Teams.TabSubmit * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TabResponse>
Protected Overridable Function OnTeamsTabSubmitAsync (turnContext As ITurnContext(Of IInvokeActivity), tabSubmit As TabSubmit, cancellationToken As CancellationToken) As Task(Of TabResponse)

Parameters

turnContext
ITurnContext<IInvokeActivity>

Een sterk getypeerd contextobject voor deze beurt.

tabSubmit
TabSubmit

Het tabblad verzendt de nettolading aanvraagwaarde aanroepen.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om kennisgeving van annulering te ontvangen.

Retouren

Een tabantwoord voor de aanvraag.

Van toepassing op