SimpleChannelProvider 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use ConfigurationBotFrameworkAuthentication instead to configure channel.
一个简单的通道提供者,带有基本配置参数,用于连接机器人框架通道服务。
[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)]
public class SimpleChannelProvider : Microsoft.Bot.Connector.Authentication.IChannelProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure channel.", false)>]
type SimpleChannelProvider = class
interface IChannelProvider
Public Class SimpleChannelProvider
Implements IChannelProvider
- 继承
-
SimpleChannelProvider
- 派生
- 属性
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| SimpleChannelProvider() |
已过时.
初始化 SimpleChannelProvider 类的新实例。 创建不带 ChannelService 的 SimpleChannelProvider,它将使用公共 Azure。 |
| SimpleChannelProvider(String) |
已过时.
初始化 SimpleChannelProvider 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| ChannelService |
已过时.
获取或设置频道服务。 |
方法
| 名称 | 说明 |
|---|---|
| GetChannelServiceAsync() |
已过时.
获取此通道提供程序的通道服务属性。 |
| IsGovernment() |
已过时.
获取该提供商是否代表美国政府Azure频道的价值。 |
| IsPublicAzure() |
已过时.
获取此提供程序是否表示公共 Azure 上的通道的值。 |