DeclarativeBotComponent 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注册声明性类型。
public class DeclarativeBotComponent : Microsoft.Bot.Builder.BotComponent
type DeclarativeBotComponent = class
inherit BotComponent
Public Class DeclarativeBotComponent
Inherits BotComponent
- 继承
构造函数
DeclarativeBotComponent() |
注册声明性类型。 |
方法
ConfigureServices(IServiceCollection, IConfiguration) |
机器人组件的入口点,用于在资源浏览器中注册类型、使用配置并在服务集合中注册服务。 |