語言

FormCanceledException<T>(String, Exception) 建構函式

定義

帶有訊息與內在例外的建構者。

public FormCanceledException(string message, Exception inner = default);
new Microsoft.Bot.Builder.FormFlow.FormCanceledException<'T> : string * Exception -> Microsoft.Bot.Builder.FormFlow.FormCanceledException<'T>
Public Sub New (message As String, Optional inner As Exception = Nothing)

參數

message
String

例外狀況訊息。

inner
Exception

內心的例外。

備註

若使用者退出,內部例外將為空。

適用於