JSException(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的 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
描述錯誤的訊息。