RuleSetValidationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre