語言

DacServicesException 類別

定義

因 DAC 服務錯誤而投出異常。

[System.Serializable]
public sealed class DacServicesException : Exception
[<System.Serializable>]
type DacServicesException = class
    inherit Exception
Public NotInheritable Class DacServicesException
Inherits Exception
繼承
DacServicesException
屬性

建構函式

名稱 Description
DacServicesException()

建構一個新的類別實例 DacServicesException 。

DacServicesException(String, Exception)

建構一個新的類別實例 DacServicesException ,包含指定的錯誤訊息及對導致該異常的內部異常的參考。

DacServicesException(String)

建立一個帶有指定錯誤訊息的新類別實例 DacServicesException 。

屬性

名稱 Description
Messages

收集與此例外相關的額外錯誤、警告及資訊訊息。

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

將異常資訊寫入所 SerializationInfo 提供的物件。

適用於