语言

ComponentRegistration.Add(ComponentRegistration) 方法

定义

注意

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。

属性

注解

每个类型只允许一个组件实例。

适用于