XamlInternalException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 XamlInternalException 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| XamlInternalException() |
初始化該類別的新實例 XamlInternalException ,並以系統提供的訊息描述錯誤。 |
| XamlInternalException(String) |
初始化類別的新實例 XamlInternalException ,並以指定訊息描述錯誤。 |
| XamlInternalException(SerializationInfo, StreamingContext) |
初始化一個新的類別實例 XamlInternalException ,並使用序列化資料。 |
| XamlInternalException(String, Exception) |
初始化類別的新實例 XamlInternalException ,並附上指定的錯誤訊息及導致該異常的內部例外的參考。 |
XamlInternalException()
初始化該類別的新實例 XamlInternalException ,並以系統提供的訊息描述錯誤。
public:
XamlInternalException();
public XamlInternalException();
Public Sub New ()
適用於
XamlInternalException(String)
初始化類別的新實例 XamlInternalException ,並以指定訊息描述錯誤。
public:
XamlInternalException(System::String ^ message);
public XamlInternalException(string message);
new System.Xaml.XamlInternalException : string -> System.Xaml.XamlInternalException
Public Sub New (message As String)
參數
- message
- String
描述例外的訊息。
適用於
XamlInternalException(SerializationInfo, StreamingContext)
初始化一個新的類別實例 XamlInternalException ,並使用序列化資料。
protected:
XamlInternalException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XamlInternalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Xaml.XamlInternalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xaml.XamlInternalException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
存放序列化物件資料的物件。
- context
- StreamingContext
關於來源或目的地的上下文資訊。
適用於
XamlInternalException(String, Exception)
初始化類別的新實例 XamlInternalException ,並附上指定的錯誤訊息及導致該異常的內部例外的參考。
public:
XamlInternalException(System::String ^ message, Exception ^ innerException);
public XamlInternalException(string message, Exception innerException);
new System.Xaml.XamlInternalException : string * Exception -> System.Xaml.XamlInternalException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
描述例外的訊息。
- innerException
- Exception
該例外即為當前例外的原因。 若 innerException 參數不 null為 ,則在處理內部異常的區塊中提出 catch 當前例外。