Udostępnij za pośrednictwem


SharePointActivityHandler.OnSharePointTaskGetPropertyPaneConfigurationAsync Metoda

Definicja

Zastąp to w klasie pochodnej, aby zapewnić logikę pobierania właściwości okienka konfiguracji.

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

Parametry

turnContext
ITurnContext<IInvokeActivity>

Obiekt kontekstu silnie typizowanego dla tego turnu.

aceRequest
AceRequest

Ładunek wartości żądania wywołania ACE.

cancellationToken
CancellationToken

Token anulowania, który może być używany przez inne obiekty lub wątki do otrzymywania powiadomienia o anulowaniu.

Zwraca

Odpowiedź konfiguracji okienka właściwości dla żądania.

Dotyczy