ConfigurationChannelProvider 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use ConfigurationBotFrameworkAuthentication instead to configure channel.
频道提供商,用于 AppSettings 查询频道服务属性。
[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)]
public sealed class ConfigurationChannelProvider : Microsoft.Bot.Connector.Authentication.SimpleChannelProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)>]
type ConfigurationChannelProvider = class
inherit SimpleChannelProvider
Public NotInheritable Class ConfigurationChannelProvider
Inherits SimpleChannelProvider
- 继承
- 属性
注解
这将填充 ChannelService from a 配置项,键为 ChannelServiceKey。
注意:如果没有这些密钥,将使用一个 null 值。
构造函数
| 名称 | 说明 |
|---|---|
| ConfigurationChannelProvider() |
已过时.
初始化 ConfigurationChannelProvider 类的新实例。 |
| ConfigurationChannelProvider(IConfiguration) |
已过时.
初始化 ConfigurationChannelProvider 类的新实例。 |
字段
| 名称 | 说明 |
|---|---|
| ChannelServiceKey |
已过时.
ChannelService的关键。 |
属性
| 名称 | 说明 |
|---|---|
| ChannelService |
已过时.
获取或设置频道服务。 (继承自 SimpleChannelProvider) |
方法
| 名称 | 说明 |
|---|---|
| GetChannelServiceAsync() |
已过时.
获取此通道提供程序的通道服务属性。 (继承自 SimpleChannelProvider) |
| IsGovernment() |
已过时.
获取该提供商是否代表美国政府Azure频道的价值。 (继承自 SimpleChannelProvider) |
| IsPublicAzure() |
已过时.
获取此提供程序是否表示公共 Azure 上的通道的值。 (继承自 SimpleChannelProvider) |