SharePointActivityHandler.OnSharePointTaskGetPropertyPaneConfigurationAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重写派生类中的此项,以提供用于获取配置窗格属性的逻辑。
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)
参数
- turnContext
- ITurnContext<IInvokeActivity>
此轮次的强类型上下文对象。
- aceRequest
- AceRequest
ACE 调用请求值有效负载。
- cancellationToken
- CancellationToken
其他对象或线程可以使用的取消令牌来接收取消通知。
返回
请求的属性窗格配置响应。