Modifica

Condividi tramite


RuleSetValidationException Constructors

Definition

Initializes a new instance of the RuleSetValidationException class.

Overloads

RuleSetValidationException()

Initializes a new instance of the RuleSetValidationException class.

RuleSetValidationException(String)

Initializes a new instance of the RuleSetValidationException class.

RuleSetValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RuleSetValidationException class from serialized data.

RuleSetValidationException(String, Exception)

Initializes a new instance of the RuleSetValidationException class.

RuleSetValidationException(String, ValidationErrorCollection)

Initializes a new instance of the RuleSetValidationException class.

RuleSetValidationException()

Initializes a new instance of the RuleSetValidationException class.

public:
 RuleSetValidationException();
public RuleSetValidationException ();
Public Sub New ()

Applies to

RuleSetValidationException(String)

Initializes a new instance of the RuleSetValidationException class.

public:
 RuleSetValidationException(System::String ^ message);
public RuleSetValidationException (string message);
new System.Workflow.Activities.Rules.RuleSetValidationException : string -> System.Workflow.Activities.Rules.RuleSetValidationException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

RuleSetValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RuleSetValidationException class from serialized data.

protected:
 RuleSetValidationException(System::Runtime::Serialization::SerializationInfo ^ serializeInfo, System::Runtime::Serialization::StreamingContext context);
protected RuleSetValidationException (System.Runtime.Serialization.SerializationInfo serializeInfo, System.Runtime.Serialization.StreamingContext context);
new System.Workflow.Activities.Rules.RuleSetValidationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Workflow.Activities.Rules.RuleSetValidationException
Protected Sub New (serializeInfo As SerializationInfo, context As StreamingContext)

Parameters

serializeInfo
SerializationInfo

Reference to the object that holds the data needed to deserialize the exception.

context
StreamingContext

Provides the means for deserializing the exception data.

Applies to

RuleSetValidationException(String, Exception)

Initializes a new instance of the RuleSetValidationException class.

public:
 RuleSetValidationException(System::String ^ message, Exception ^ ex);
public RuleSetValidationException (string message, Exception ex);
new System.Workflow.Activities.Rules.RuleSetValidationException : string * Exception -> System.Workflow.Activities.Rules.RuleSetValidationException
Public Sub New (message As String, ex As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

ex
Exception

The inner exception.

Applies to

RuleSetValidationException(String, ValidationErrorCollection)

Initializes a new instance of the RuleSetValidationException class.

public:
 RuleSetValidationException(System::String ^ message, System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ errors);
public RuleSetValidationException (string message, System.Workflow.ComponentModel.Compiler.ValidationErrorCollection errors);
new System.Workflow.Activities.Rules.RuleSetValidationException : string * System.Workflow.ComponentModel.Compiler.ValidationErrorCollection -> System.Workflow.Activities.Rules.RuleSetValidationException
Public Sub New (message As String, errors As ValidationErrorCollection)

Parameters

message
String

The error message that explains the reason for the exception.

errors
ValidationErrorCollection

Collection of validation errors that occurred while validating a rule set.

Applies to