ComponentRegistration.Add(ComponentRegistration) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use resource explorer
添加实现注册方法的组件。
[System.Obsolete("Use resource explorer")]
public static void Add (Microsoft.Bot.Builder.ComponentRegistration componentRegistration);
[<System.Obsolete("Use resource explorer")>]
static member Add : Microsoft.Bot.Builder.ComponentRegistration -> unit
Public Shared Sub Add (componentRegistration As ComponentRegistration)
参数
- componentRegistration
- ComponentRegistration
componentRegistration。
- 属性
注解
对于组件,每个类型只允许一个实例。