RuleSetValidationException 构造函数
定义
初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class.
重载
| RuleSetValidationException() |
初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class. |
| RuleSetValidationException(String) |
初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class. |
| RuleSetValidationException(SerializationInfo, StreamingContext) |
用序列化数据初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class from serialized data. |
| RuleSetValidationException(String, Exception) |
初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class. |
| RuleSetValidationException(String, ValidationErrorCollection) |
初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class. |
RuleSetValidationException()
初始化 RuleSetValidationException 类的新实例。Initializes a new instance of the RuleSetValidationException class.
public:
RuleSetValidationException();
public RuleSetValidationException ();
Public Sub New ()
适用于
RuleSetValidationException(String)
初始化 RuleSetValidationException 类的新实例。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)
参数
- message
- String
解释异常原因的错误消息。The error message that explains the reason for the exception.
适用于
RuleSetValidationException(SerializationInfo, StreamingContext)
用序列化数据初始化 RuleSetValidationException 类的新实例。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)
参数
- 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.
适用于
RuleSetValidationException(String, Exception)
初始化 RuleSetValidationException 类的新实例。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)
参数
- message
- String
解释异常原因的错误消息。The error message that explains the reason for the exception.
- ex
- Exception
内部异常。The inner exception.
适用于
RuleSetValidationException(String, ValidationErrorCollection)
初始化 RuleSetValidationException 类的新实例。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)
参数
- 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.