27 references to ValidationError
System.Workflow.Activities (14)
CorrelationValidator.cs (5)
172
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerInReplicator), replicatorParent.QualifiedName), ErrorNumbers.Error_InitializerInReplicator, false);
200
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenInReplicator, correlator.Name, replicatorParent.QualifiedName)), ErrorNumbers.Error_CorrelationTokenInReplicator, true);
288
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_UninitializedCorrelation)), ErrorNumbers.Error_UninitializedCorrelation, true);
293
error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MisMatchCorrelationTokenOwnerNameProperty), correlator.Name), ErrorNumbers.Error_UninitializedCorrelation, false);
301
ValidationError error = new
ValidationError
(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerFollowerInTxnlScope)), ErrorNumbers.Error_InitializerFollowerInTxnlScope, false);
EventDriven.cs (2)
102
return new
ValidationError
(SR.GetString(SR.Error_EventActivityIsImmutable), ErrorNumbers.Error_DynamicActivity, false);
109
return new
ValidationError
(SR.GetString(SR.Error_EventActivityIsImmutable), ErrorNumbers.Error_DynamicActivity, false);
InvokeWebService.cs (1)
507
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
Rules\Rule.cs (1)
170
ValidationError newError = new
ValidationError
(prefix + oldError.ErrorText, oldError.ErrorNumber, oldError.IsWarning);
Rules\RuleAttributes.cs (3)
331
error = new
ValidationError
(message, ErrorNumbers.Warning_RuleAttributeNoMatch, true);
347
error = new
ValidationError
(message, ErrorNumbers.Warning_RuleAttributeNoMatch, true);
374
error = new
ValidationError
(message, ErrorNumbers.Error_InvokeAttrRefersToParameterAttribute, true);
WebServiceReceive.cs (1)
612
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
WebServiceResponse.cs (1)
450
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
System.Workflow.ComponentModel (7)
AuthoringOM\Behaviors\CancellationHandler.cs (1)
74
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Warning_EmptyBehaviourActivity, typeof(CancellationHandlerActivity).FullName, cancellationHandlerActivity.QualifiedName), ErrorNumbers.Warning_EmptyBehaviourActivity, true));
AuthoringOM\Behaviors\Compensation.cs (1)
79
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Warning_EmptyBehaviourActivity, typeof(CompensationHandlerActivity).FullName, compensation.QualifiedName), ErrorNumbers.Warning_EmptyBehaviourActivity, true));
AuthoringOM\Behaviors\ExceptionHandler.cs (1)
200
validationErrors.Add(new
ValidationError
(SR.GetString(SR.Warning_EmptyBehaviourActivity, typeof(FaultHandlerActivity).FullName, exceptionHandler.QualifiedName), ErrorNumbers.Warning_EmptyBehaviourActivity, true));
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
820
error = new
ValidationError
(SR.GetString(SR.Error_BindActivityReference, refActivity.QualifiedName, activity.QualifiedName), ErrorNumbers.Error_BindActivityReference, true);
864
error = new
ValidationError
(SR.GetString(SR.Warning_ParameterBinding, bind.Path, refActivity.QualifiedName, validationContext.TargetType.FullName), ErrorNumbers.Warning_ParameterBinding, true);
902
error = new
ValidationError
(SR.GetString(SR.Warning_ParameterBinding, bind.Path, refActivity.QualifiedName, validationContext.TargetType.FullName), ErrorNumbers.Warning_ParameterBinding, true);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
577
ValidationError error2 = new
ValidationError
(GetPrettifiedErrorText(error), error.ErrorNumber, error.IsWarning);
System.WorkflowServices (6)
System\Workflow\Activities\ValidationHelper.cs (6)
164
validationErrors.Add(new
ValidationError
(
277
validationErrors.Add(new
ValidationError
(
293
validationErrors.Add(new
ValidationError
(
311
validationErrors.Add(new
ValidationError
(
327
validationErrors.Add(new
ValidationError
(
345
validationErrors.Add(new
ValidationError
(