Dela via


SkypeMentionNormalizeMiddleware.OnTurnAsync Metod

Definition

Implementering av mellanprogram som korrigerar Enity.Mention.Text till ett värde som RemoveMentionText kan arbeta med.

public System.Threading.Tasks.Task OnTurnAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Builder.NextDelegate next, System.Threading.CancellationToken cancellationToken = default);
abstract member OnTurnAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.NextDelegate * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnTurnAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.NextDelegate * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnTurnAsync (turnContext As ITurnContext, next As NextDelegate, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametrar

turnContext
ITurnContext

turkontext.

next
NextDelegate

nästa mellanprogram.

cancellationToken
CancellationToken

cancellationToken.

Returer

En Task som representerar den asynkrona åtgärden.

Implementeringar

Gäller för