EmitEvent 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
動作,該動作以宣告性的方式發出事件。
public class EmitEvent : Microsoft.Bot.Builder.Dialogs.Dialog
type EmitEvent = class
inherit Dialog
Public Class EmitEvent
Inherits Dialog
- 繼承
建構函式
| 名稱 | Description |
|---|---|
| EmitEvent(String, Object, Boolean, String, Int32) |
初始化 EmitEvent 類別的新執行個體。 |
欄位
| 名稱 | Description |
|---|---|
| Kind |
類別識別碼。 |
屬性
| 名稱 | Description |
|---|---|
| BubbleEvent |
會設定一個值,指示事件是否應該向家長透露。 |
| Disabled |
取得或設定選擇性表達式,如果 為 true,則會停用此動作。 |
| EventName |
取得或設定事件名稱要發射。 |
| EventValue |
取得或設定記憶體屬性路徑,用來取得事件中要傳送的值。 |
| HandledProperty |
取得或設定屬性路徑以儲存事件是否被處理。 |
| Id |
取得或設定對話的 ID。 (繼承來源 Dialog) |
| Source |
取得 cref=“SourceRange”/> 的資訊。 (繼承來源 Dialog) |
| TelemetryClient |
取得或設定 IBotTelemetryClient 用於記錄。 (繼承來源 Dialog) |
方法
擴充方法
| 名稱 | Description |
|---|---|
| RunAsync(Dialog, ITurnContext, IStatePropertyAccessor<DialogState>, CancellationToken) |
建立對話堆疊並啟動對話,並將它推送至堆疊。 |