DacServicesException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 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 对象。 |