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

内部异常。

注解

如果用户退出,内部异常将为 null。

适用于