Share via


RuleException Constructors

Definition

Overloads

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

RuleException()

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

public RuleException ();
Public Sub New ()

Applies to

RuleException(String)

Initialize a new instance of RuleException with a message

public RuleException (string message);
new Microsoft.SqlServer.Dac.CodeAnalysis.RuleException : string -> Microsoft.SqlServer.Dac.CodeAnalysis.RuleException
Public Sub New (message As String)

Parameters

message
String

Exception message

Applies to

RuleException(String, Exception)

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

public RuleException (string message, Exception innerException);
new Microsoft.SqlServer.Dac.CodeAnalysis.RuleException : string * Exception -> Microsoft.SqlServer.Dac.CodeAnalysis.RuleException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Exception message

innerException
Exception

Inner exception to attached to this exception

Applies to