語言

IFormBuilder<T>.Message 方法

定義

多載

名稱 Description
Message(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>)

用代理來動態建立訊息。

Message(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>)

顯示一則格式控制較多且不需回應的訊息。

Message(String, ActiveDelegate<T>, IEnumerable<String>)

展示不需要回應的訊息。

Message(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>)

用代理來動態建立訊息。

public Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Message(Microsoft.Bot.Builder.FormFlow.MessageDelegate<T> generateMessage, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Message : Microsoft.Bot.Builder.FormFlow.MessageDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Function Message (generateMessage As MessageDelegate(Of T), Optional condition As ActiveDelegate(Of T) = Nothing, Optional dependencies As IEnumerable(Of String) = Nothing) As IFormBuilder(Of T)

參數

generateMessage
MessageDelegate<T>

建築訊息的委託人。

condition
ActiveDelegate<T>

不管這個步驟是否啟動。

dependencies
IEnumerable<String>

欄位訊息取決於。

傳回

修改版 IFormBuilder。

適用於

Message(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>)

顯示一則格式控制較多且不需回應的訊息。

public Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Message(Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Message : Microsoft.Bot.Builder.FormFlow.PromptAttribute * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Function Message (prompt As PromptAttribute, Optional condition As ActiveDelegate(Of T) = Nothing, Optional dependencies As IEnumerable(Of String) = Nothing) As IFormBuilder(Of T)

參數

prompt
PromptAttribute

訊息要填寫並發送。

condition
ActiveDelegate<T>

不管這個步驟是否啟動。

dependencies
IEnumerable<String>

欄位訊息取決於。

傳回

修改版 IFormBuilder。

適用於

Message(String, ActiveDelegate<T>, IEnumerable<String>)

展示不需要回應的訊息。

public Microsoft.Bot.Builder.FormFlow.IFormBuilder<T> Message(string message, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition = default, System.Collections.Generic.IEnumerable<string> dependencies = default);
abstract member Message : string * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> -> Microsoft.Bot.Builder.FormFlow.IFormBuilder<'T (requires 'T : null)>
Public Function Message (message As String, Optional condition As ActiveDelegate(Of T) = Nothing, Optional dependencies As IEnumerable(Of String) = Nothing) As IFormBuilder(Of T)

參數

message
String

\rEF 會用來填補並發送的線條。

condition
ActiveDelegate<T>

不管這個步驟是否啟動。

dependencies
IEnumerable<String>

欄位訊息取決於。

傳回

修改版 IFormBuilder。

適用於