Freigeben über


SharePointActivityHandler.OnSharePointTaskGetQuickViewAsync Methode

Definition

Überschreiben Sie dies in einer abgeleiteten Klasse, um logik für den Abruf einer Schnellansicht bereitzustellen.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Schema.SharePoint.QuickViewResponse> OnSharePointTaskGetQuickViewAsync(Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> turnContext, Microsoft.Bot.Schema.SharePoint.AceRequest aceRequest, System.Threading.CancellationToken cancellationToken);
abstract member OnSharePointTaskGetQuickViewAsync : Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> * Microsoft.Bot.Schema.SharePoint.AceRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.SharePoint.QuickViewResponse>
override this.OnSharePointTaskGetQuickViewAsync : Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> * Microsoft.Bot.Schema.SharePoint.AceRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.SharePoint.QuickViewResponse>
Protected Overridable Function OnSharePointTaskGetQuickViewAsync (turnContext As ITurnContext(Of IInvokeActivity), aceRequest As AceRequest, cancellationToken As CancellationToken) As Task(Of QuickViewResponse)

Parameter

turnContext
ITurnContext<IInvokeActivity>

Ein stark typiertes Kontextobjekt für diese Drehung.

aceRequest
AceRequest

Die ACE ruft die Nutzlast des Anforderungswerts auf.

cancellationToken
CancellationToken

Ein Abbruchtoken, das von anderen Objekten oder Threads verwendet werden kann, um eine Kündigungsbenachrichtigung zu erhalten.

Gibt zurück

Eine Schnellansichtsantwort für die Anforderung.

Gilt für: