SharePointActivityHandler.OnSharePointTaskGetQuickViewAsync Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Åsidosätt detta i en härledd klass för att ange logik för när en snabbvy hämtas.
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)
Parametrar
- turnContext
- ITurnContext<IInvokeActivity>
Ett starkt skrivet kontextobjekt för den här svängen.
- aceRequest
- AceRequest
ACE anropar nyttolasten för begärandevärdet.
- cancellationToken
- CancellationToken
En annulleringstoken som kan användas av andra objekt eller trådar för att få meddelande om annullering.
Returer
Ett snabbvisningssvar för begäran.