Freigeben über


InspectionMiddleware.InboundAsync Methode

Definition

Verarbeitet eingehende Aktivitäten.

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))

Parameter

turnContext
ITurnContext

Der Turnkontext.

traceActivity
Activity

Die Ablaufverfolgungsaktivität.

cancellationToken
CancellationToken

Ein Abbruchtoken, das von anderen Objekten oder Threads verwendet werden kann, um Nachricht vom Abbruch zu empfangen.

Gibt zurück

Eine Task, die den asynchronen Vorgang darstellt

Gilt für: