BotComponent 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義 BotComponent 允許註冊服務、自訂動作、記憶體範圍及介面卡的 。
public abstract class BotComponent
type BotComponent = class
Public MustInherit Class BotComponent
- 繼承
-
BotComponent
- 衍生
建構函式
| 名稱 | Description |
|---|---|
| BotComponent() |
定義 BotComponent 允許註冊服務、自訂動作、記憶體範圍及介面卡的 。 |
方法
| 名稱 | Description |
|---|---|
| ConfigureServices(IServiceCollection, IConfiguration) |
機器人元件的入口點,可在資源總管中登錄類型、使用設定並在服務集合中登錄服務。 |