JSException 构造函数

定义

重载

JSException(String)

构造 的 JSException实例。

JSException(String, Exception)

构造 的 JSException实例。

JSException(String)

构造 的 JSException实例。

public:
 JSException(System::String ^ message);
public JSException (string message);
new Microsoft.JSInterop.JSException : string -> Microsoft.JSInterop.JSException
Public Sub New (message As String)

参数

message
String

异常消息。

适用于

JSException(String, Exception)

构造 的 JSException实例。

public:
 JSException(System::String ^ message, Exception ^ innerException);
public JSException (string message, Exception innerException);
new Microsoft.JSInterop.JSException : string * Exception -> Microsoft.JSInterop.JSException
Public Sub New (message As String, innerException As Exception)

参数

message
String

异常消息。

innerException
Exception

内部异常。

适用于