ThrowException(Object, String, Int32) 构造函数

定义

初始化 ThrowException 类的新实例。

public ThrowException (object errorValue = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.ThrowException : obj * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.ThrowException
Public Sub New (Optional errorValue As Object = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)

参数

errorValue
Object

用于获取要引发的错误值的内存属性路径。

callerPath
String

可选的源文件完整路径。

callerLine
Int32

可选,源文件中的行号。

适用于