JSException(String) 建構函式

定義

使用指定的錯誤訊息,初始化 JSException 類別的新實例。

public:
 JSException(System::String ^ msg);
public JSException (string msg);
new System.Runtime.InteropServices.JavaScript.JSException : string -> System.Runtime.InteropServices.JavaScript.JSException
Public Sub New (msg As String)

參數

msg
String

描述錯誤的訊息。

適用於