Share via


BotComponent 類別

定義

BotComponent的定義,允許註冊服務、自訂動作、記憶體範圍和配接器。

public abstract class BotComponent
type BotComponent = class
Public MustInherit Class BotComponent
繼承
BotComponent
衍生

建構函式

BotComponent()

BotComponent的定義,允許註冊服務、自訂動作、記憶體範圍和配接器。

方法

ConfigureServices(IServiceCollection, IConfiguration)

Bot 元件的進入點,以在資源總管中註冊類型、取用服務集合中的組態和註冊服務。

適用於