语言

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

内心例外。

注解

在用户退出的情况下,内部例外为空。

适用于