DacServicesException 类

定义

为 DAC 服务错误引发的异常。

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

构造函数

名称 说明
DacServicesException()

构造类的新实例 DacServicesException

DacServicesException(String, Exception)

使用指定的错误消息和对内部异常的引用构造类的新实例 DacServicesException ,这是此异常的原因。

DacServicesException(String)

使用指定的错误消息构造类的新实例 DacServicesException

属性

名称 说明
Messages

获取与此异常关联的其他错误、警告和信息性消息的集合。

方法

名称 说明
GetObjectData(SerializationInfo, StreamingContext)

将异常信息写入所提供的 SerializationInfo 对象。

适用于