Lingua

InspectionMiddleware.InboundAsync Metodo

Definizione

Processa le attività in entrata.

protected override System.Threading.Tasks.Task<(bool shouldForwardToApplication, bool shouldIntercept)> InboundAsync(Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Schema.Activity traceActivity, System.Threading.CancellationToken cancellationToken);
override this.InboundAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<ValueTuple<bool, bool>>
Protected Overrides Function InboundAsync (turnContext As ITurnContext, traceActivity As Activity, cancellationToken As CancellationToken) As Task(Of ValueTuple(Of Boolean, Boolean))

Parametri

turnContext
ITurnContext

Contesto del turno.

traceActivity
Activity

L'attività di tracciamento.

cancellationToken
CancellationToken

Token di annullamento che può essere utilizzato da altri oggetti o thread per ricevere un avviso di annullamento.

Valori restituiti

Oggetto Task che rappresenta l'operazione asincrona.

Si applica a