ValidationResults(IList<ValidationError>) 构造函数

定义

初始化 ValidationResults 类的新实例。

public:
 ValidationResults(System::Collections::Generic::IList<System::Activities::Validation::ValidationError ^> ^ allValidationErrors);
public ValidationResults (System.Collections.Generic.IList<System.Activities.Validation.ValidationError> allValidationErrors);
new System.Activities.Validation.ValidationResults : System.Collections.Generic.IList<System.Activities.Validation.ValidationError> -> System.Activities.Validation.ValidationResults
Public Sub New (allValidationErrors As IList(Of ValidationError))

参数

allValidationErrors
IList<ValidationError>

验证错误和警告的集合。

适用于