ComponentRegistration.Add(ComponentRegistration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use resource explorer
Add a component which implements registration methods.
[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)
Parameters
- componentRegistration
- ComponentRegistration
componentRegistration.
- Attributes
Remarks
Only one instance per type is allowed for components.