Delen via


SharePointActivityHandler.OnSharePointTaskGetQuickViewAsync Methode

Definitie

Overschrijf dit in een afgeleide klasse om logica te bieden voor wanneer een snelle weergave wordt opgehaald.

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)

Parameters

turnContext
ITurnContext<IInvokeActivity>

Een sterk getypt contextobject voor deze beurt.

aceRequest
AceRequest

De nettolading van de ACE-aanvraagwaarde aanroepen.

cancellationToken
CancellationToken

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

Retouren

Een snelle weergaveantwoord voor de aanvraag.

Van toepassing op