RuleException 类

定义

表示在代码分析运行期间可能发生的异常

[System.Serializable]
public sealed class RuleException : Microsoft.SqlServer.Dac.Model.DacModelException
[<System.Serializable>]
type RuleException = class
    inherit DacModelException
Public NotInheritable Class RuleException
Inherits DacModelException
继承
属性

构造函数

名称 说明
RuleException()

初始化异常消息的新实例 RuleException ,内部异常设置为 null

RuleException(String, Exception)

使用消息和内部异常初始化新实例RuleException

RuleException(String)

使用消息初始化新实例RuleException

属性

名称 说明
Messages

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

(继承自 DacModelException)

方法

名称 说明
GetObjectData(SerializationInfo, StreamingContext)

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

(继承自 DacModelException)

适用于