RuleException Class

Definition

Represent an exception that may occur during a code analysis run

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

Constructors

RuleException()

Initialize a new instance of RuleException Exception message and inner exceptions are set to null

RuleException(String)

Initialize a new instance of RuleException with a message

RuleException(String, Exception)

Initialize a new instance of RuleException with a message and an inner exception

Properties

Messages

Get collection of additional error, warning, and informational messages associated with this exception.

(Inherited from DacModelException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Write exception information to the supplied SerializationInfo object.

(Inherited from DacModelException)

Applies to