JSVsaException 建構函式

定義

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

多載

JSVsaException()

使用系統提供的錯誤描述訊息,初始化 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException(JSVsaError)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException(String)

初始化具有指定的錯誤描述訊息之 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException(JSVsaError, String)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException(SerializationInfo, StreamingContext)

使用序列化資料,初始化 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException(String, Exception)

使用指定的錯誤訊息以及造成此例外狀況的內部例外狀況的參考,初始化 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException(JSVsaError, String, Exception)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

JSVsaException()

使用系統提供的錯誤描述訊息,初始化 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

public:
 JSVsaException();
public JSVsaException ();
Public Sub New ()

適用於

JSVsaException(JSVsaError)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

public:
 JSVsaException(Microsoft::JScript::Vsa::JSVsaError error);
public JSVsaException (Microsoft.JScript.Vsa.JSVsaError error);
new Microsoft.JScript.Vsa.JSVsaException : Microsoft.JScript.Vsa.JSVsaError -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (error As JSVsaError)

參數

error
JSVsaError

JSVsaError 值,描述例外狀況的原因。

適用於

JSVsaException(String)

初始化具有指定的錯誤描述訊息之 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

public:
 JSVsaException(System::String ^ message);
public JSVsaException (string message);
new Microsoft.JScript.Vsa.JSVsaException : string -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (message As String)

參數

message
String

說明例外狀況的訊息。 需要此建構函式的呼叫者,才能確保此字串已針對目前的系統文化特性進行當地語系化。

適用於

JSVsaException(JSVsaError, String)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

public:
 JSVsaException(Microsoft::JScript::Vsa::JSVsaError error, System::String ^ message);
public JSVsaException (Microsoft.JScript.Vsa.JSVsaError error, string message);
new Microsoft.JScript.Vsa.JSVsaException : Microsoft.JScript.Vsa.JSVsaError * string -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (error As JSVsaError, message As String)

參數

error
JSVsaError

JSVsaError 值,描述例外狀況的原因。

message
String

說明例外狀況的訊息。 需要此建構函式的呼叫者,才能確保此字串已針對目前的系統文化特性進行當地語系化。

適用於

JSVsaException(SerializationInfo, StreamingContext)

使用序列化資料,初始化 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

public:
 JSVsaException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public JSVsaException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.JScript.Vsa.JSVsaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

存放序列物件資料的物件。

context
StreamingContext

關於來源或目的端的內容資訊。

適用於

JSVsaException(String, Exception)

使用指定的錯誤訊息以及造成此例外狀況的內部例外狀況的參考,初始化 JSVsaException 類別的新執行個體。 此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

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

參數

message
String

說明例外狀況的訊息。 需要此建構函式的呼叫者,才能確保此字串已針對目前的系統文化特性進行當地語系化。

innerException
Exception

做為目前例外狀況發生原因的例外狀況。 如果 innerException 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。

適用於

JSVsaException(JSVsaError, String, Exception)

此成員支援 .NET Framework 基礎結構,並不能直接使用於您的程式碼中。

public:
 JSVsaException(Microsoft::JScript::Vsa::JSVsaError error, System::String ^ message, Exception ^ innerException);
public JSVsaException (Microsoft.JScript.Vsa.JSVsaError error, string message, Exception innerException);
new Microsoft.JScript.Vsa.JSVsaException : Microsoft.JScript.Vsa.JSVsaError * string * Exception -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (error As JSVsaError, message As String, innerException As Exception)

參數

error
JSVsaError

JSVsaError 值,描述例外狀況的原因。

message
String

說明例外狀況的訊息。 需要此建構函式的呼叫者,才能確保此字串已針對目前的系統文化特性進行當地語系化。

innerException
Exception

做為目前例外狀況發生原因的例外狀況。 如果 innerException 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。

適用於