1 instantiation of SR
System.Workflow.Activities (1)
SR.cs (1)
93loader = new SR();
809 references to SR
System.Workflow.Activities (809)
Code.cs (4)
17[SRDescription(SR.CodeActivityDescription)] 22[SRCategory(SR.Standard)] 49[SRCategory(SR.Handlers)] 50[SRDescription(SR.UserCodeHandlerDescr)]
CodeExpressionRuleDeclaration.cs (3)
19[SRDisplayName(SR.CodeConditionDisplayName)] 25[SRDescription(SR.ExpressionDescr)] 26[SRCategory(SR.Handlers)]
Common\BasePropertyDescriptor.cs (16)
321throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, paramInfo.Name)); 331qualifier = SR.GetString(SR.Ref); 333qualifier = SR.GetString(SR.Out); 335qualifier = SR.GetString(SR.In); 336this.desc = SR.GetString(SR.ParameterDescription, paramInfo.ParameterType.FullName); 347throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, propertyName)); 352this.desc = SR.GetString(SR.InvokeParameterDescription, propertyType.FullName.ToString()); 378return SR.GetString(SR.Parameters);
Common\CompModHelpers.cs (6)
309SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 358SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 435SR.GetString(SR.General_MissingService, typeof(ITypeProvider).Name));
Common\ValidationHelpers.cs (14)
47throw new Exception(SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier)); 58error = new ValidationError(SR.GetString(SR.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet); 67error = new ValidationError(SR.GetString(SR.Error_InvalidIdentifier, propName, e.Message), ErrorNumbers.Error_InvalidIdentifier); 82error = new ValidationError(SR.GetString(SR.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet); 92error = new ValidationError(SR.GetString(SR.Error_InvalidIdentifier, propName, SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier)), ErrorNumbers.Error_InvalidIdentifier); 116ValidationError duplicateError = new ValidationError(SR.GetString(SR.Error_DuplicatedActivityID, activity.QualifiedName), ErrorNumbers.Error_DuplicatedActivityID);
CompensatableSequenceActivity.cs (2)
20[SRDescription(SR.CompensatableSequenceActivityDescription)] 24[SRCategory(SR.Standard)]
Conditional.cs (13)
24[SRDescription(SR.ConditionalActivityDescription)] 27[SRCategory(SR.Standard)] 61throw new InvalidOperationException(SR.GetString(SR.Error_ConditionalBranchUpdateAtRuntime)); 131throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 145throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(IfElseActivity).FullName), "obj"); 149validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalLessThanOneChildren), ErrorNumbers.Error_IfElseLessThanOneChildren)); 156validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalDeclNotAllConditionalBranchDecl), ErrorNumbers.Error_IfElseNotAllIfElseBranchDecl)); 173return new ValidationError(SR.GetString(SR.Error_DynamicActivity, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus)), ErrorNumbers.Error_DynamicActivity);
ConditionalBranch.cs (7)
26[SRCategory(SR.Standard)] 43[SRCategory(SR.Conditions)] 44[SRDescription(SR.ConditionDescr)] 68throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(IfElseBranchActivity).FullName), "obj"); 73validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalBranchParentNotConditional), ErrorNumbers.Error_ConditionalBranchParentNotConditional));
ConstrainedGroup.cs (28)
26[SRDescription(SR.ConstrainedGroupActivityDescription)] 31[SRCategory(SR.Standard)] 61throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject"); 71throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject"); 76[SRCategory(SR.Conditions)] 77[SRDescription(SR.UntilConditionDescr)] 99throw new ArgumentException(SR.GetString(SR.Error_CAGChildNotFound, childActivity.QualifiedName, this.QualifiedName), "childActivity"); 130throw new ArgumentException(SR.GetString(SR.Error_CAGChildNotFound, childActivityName, this.QualifiedName), "childActivityName"); 142throw new InvalidOperationException(SR.GetString(SR.Error_CAGNotExecuting, this.QualifiedName)); 147throw new ArgumentException(SR.GetString(SR.Error_CAGChildNotFound, child.QualifiedName, this.QualifiedName), "child"); 165throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 177ValidationError error = new ValidationError(SR.GetString(SR.Error_NestedConstrainedGroupConditions, propertyName), ErrorNumbers.Error_NestedConstrainedGroupConditions); 382throw new InvalidOperationException(SR.GetString(SR.Error_CAGQuiet, cag.QualifiedName)); 501throw new ArgumentException(SR.GetString(SR.Error_InvalidCAGActivityType), "activity"); 808throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ConditionedActivityGroup).FullName), "obj"); 824return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, activity.ExecutionStatus, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
CorrelationValidator.cs (66)
32throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj"); 40ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), interfaceType.FullName), ErrorNumbers.Error_GenericMethodsNotSupported); 49ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeException), interfaceType.FullName), ErrorNumbers.Error_TypeNotExist); 74validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MissingMethodName, activity.Name, ((CallExternalMethodActivity)activity).MethodName), ErrorNumbers.Error_MissingMethodName)); 79ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 94validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MissingEventName, activity.Name, ((HandleExternalEventActivity)activity).EventName), ErrorNumbers.Error_MissingMethodName)); 110validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenSpecifiedForUncorrelatedInterface), activity.QualifiedName, interfaceType), ErrorNumbers.Error_InvalidIdentifier, false, "CorrelationToken")); 121validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 127validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenOwnerNameProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 158ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OwnerActivityIsNotParent), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet); 172ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerInReplicator), replicatorParent.QualifiedName), ErrorNumbers.Error_InitializerInReplicator, false); 200ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenInReplicator, correlator.Name, replicatorParent.QualifiedName)), ErrorNumbers.Error_CorrelationTokenInReplicator, true); 288ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_UninitializedCorrelation)), ErrorNumbers.Error_UninitializedCorrelation, true); 293error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MisMatchCorrelationTokenOwnerNameProperty), correlator.Name), ErrorNumbers.Error_UninitializedCorrelation, false); 301ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerFollowerInTxnlScope)), ErrorNumbers.Error_InitializerFollowerInTxnlScope, false); 428string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 439string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ReturnTypeNotVoid), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotVoid); 452string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OutRefParameterNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name, param.Name), ErrorNumbers.Error_OutRefParameterNotSupported); 478ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationParameterAttribute).Name, "Name", interfaceType.Name), ErrorNumbers.Error_CorrelationAttributeInvalid); 485ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(CorrelationParameterAttribute).Name, parameterAttribute.Name, interfaceType.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute); 576ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationParameterNotFound, typeof(CorrelationAliasAttribute).Name, paramName, memberInfo.Name, typeof(CorrelationParameterAttribute).Name, interfaceType.Name), ErrorNumbers.Error_CorrelationParameterNotFound); 602ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInvalid, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramName), ErrorNumbers.Error_CorrelationInvalid); 609ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationTypeNotConsistent, paramPath, typeof(CorrelationAliasAttribute).Name, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramType.Name, ((Type)paramTypes[paramName]).Name, paramName, interfaceType.Name), ErrorNumbers.Error_CorrelationTypeNotConsistent); 618ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInitializerNotDefinied, interfaceType.Name), ErrorNumbers.Error_CorrelationInitializerNotDefinied); 645ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_MissingCorrelationParameterAttribute, interfaceType.Name), ErrorNumbers.Error_MissingCorrelationParameterAttribute); 675ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Name", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid); 683ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Path", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid); 691ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(CorrelationAliasAttribute).Name, aliasAttribute.Name, memberInfo.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute); 817throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj"); 880validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidEventArgsSignature, operation)), ErrorNumbers.Error_FieldNotExists, false, "EventName")); 891validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidEventPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings")); 893validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidMethodPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings")); 930SR.GetString(SR.Error_EventArgumentValidationException), type.FullName),
Delay.cs (12)
21[SRDescription(SR.DelayActivityDescription)] 27[SRCategory(SR.Standard)] 53[SRCategory(SR.Handlers)] 54[SRDescription(SR.TimeoutInitializerDescription)] 70[SRDescription(SR.TimeoutDurationDescription)] 161errors.Add(new ValidationError(SR.GetString(SR.Error_NegativeValue, new object[] { delay.TimeoutDuration.ToString(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue)); 240throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration")); 244throw new Exception(SR.GetString(SR.InvalidTimespanFormat, timeSpan)); 283throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender");
Designers\CAGDesigner.cs (4)
85[SRCategory(SR.ConditionedActivityConditions)] 86[SRDescription(SR.WhenConditionDescr)] 96[SRCategory(SR.ConditionedActivityConditions)] 97[SRDescription(SR.WhenConditionDescr)]
Designers\EventSinkActivityDesigner.cs (2)
76throw new Exception(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\InvokeMethodActivityDesigner.cs (2)
75throw new Exception(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\InvokeWebServiceDesigner.cs (10)
82throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 88[SRCategory(SR.Activity)] 89[SRDescription(SR.URLDescr)] 117throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName)); 123trans = host.CreateTransaction(SR.GetString(SR.ChangingVariable)); 154throw new Exception(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\StateDesigner.cs (13)
1244transaction = designerHost.CreateTransaction(SR.GetMoveSetState()); 1790transaction = designerHost.CreateTransaction(SR.GetString(SR.UndoSwitchViews)); 1859transaction = designerHost.CreateTransaction(SR.GetUndoSetAsInitialState(state.Name)); 1893transaction = designerHost.CreateTransaction(SR.GetUndoSetAsCompletedState(state.Name)); 2147transaction = designerHost.CreateTransaction(SR.GetString(SR.UndoSwitchViews)); 2609[SRDescription(SR.ConnectorColorDescription)] 2610[SRCategory(SR.ForegroundCategory)] 2623[SRDescription(SR.InitialStateImagePathDescription)] 2624[SRCategory(SR.ForegroundCategory)] 2654[SRDescription(SR.CompletedStateImagePathDescription)] 2655[SRCategory(SR.ForegroundCategory)]
Designers\WebServiceReceiveDesigner.cs (4)
108throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 112throw new Exception(SR.GetString(SR.Error_TypeNotResolved, value));
Designers\WebServiceResponseDesigner.cs (2)
30throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
EventDriven.cs (12)
22[SRDescription(SR.EventDrivenActivityDescription)] 27[SRCategory(SR.Standard)] 63throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(EventDrivenActivity).FullName), "obj"); 70validationErrors.Add(new ValidationError(SR.GetError_EventDrivenParentNotListen(), ErrorNumbers.Error_EventDrivenParentNotListen)); 78message = SR.GetString(SR.Error_EventDrivenNoFirstActivity); 83message = SR.GetError_EventDrivenInvalidFirstActivity(); 102return new ValidationError(SR.GetString(SR.Error_EventActivityIsImmutable), ErrorNumbers.Error_DynamicActivity, false); 109return new ValidationError(SR.GetString(SR.Error_EventActivityIsImmutable), ErrorNumbers.Error_DynamicActivity, false);
EventHandlers.cs (16)
25[SRCategory(SR.Standard)] 86throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 246throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 430throw new ArgumentException(SR.GetString(SR.Error_EventHandlersChildNotFound), "childActivity"); 461throw new ArgumentException(SR.GetString(SR.Error_EventHandlersChildNotFound), "childActivityName"); 473throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(EventHandlersActivity).FullName), "obj"); 477validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MustHaveParent), ErrorNumbers.Error_EventHandlersDeclParentNotScope)); 483validationErrors.Add(new ValidationError(SR.GetString(SR.Error_EventHandlersDeclParentNotScope, eventHandlers.Parent.QualifiedName), ErrorNumbers.Error_EventHandlersDeclParentNotScope)); 494validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
EventHandlingScope.cs (11)
22[SRDescription(SR.EventHandlingScopeActivityDescription)] 215throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(EventHandlingScopeActivity).FullName), "obj"); 230validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanTwoActivitiesInEventHandlingScope, compositeActivity.QualifiedName), ErrorNumbers.Error_MoreThanTwoActivitiesInEventHandlingScope)); 234validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MoreThanOneEventHandlersDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneEventHandlersDecl)); 250return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2); 254return new ValidationError(SR.GetString(SR.Error_DynamicActivity3, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
EventSinkActivity.cs (28)
21[SRDescription(SR.HandleExternalEventActivityDescription)] 25[SRCategory(SR.Base)] 62[SRCategory(SR.Activity)] 63[SRDescription(SR.ExternalEventNameDescr)] 79[SRCategory(SR.Activity)] 80[SRDescription(SR.HelperExternalDataExchangeDesc)] 108[SRCategory(SR.Activity)] 109[SRDescription(SR.RoleDescr)] 124[SRCategory(SR.Activity)] 126[SRDescription(SR.CorrelationSetDescr)] 142[SRCategory(SR.Handlers)] 143[SRDescription(SR.OnAfterMethodInvokeDescr)] 189throw new InvalidOperationException(SR.GetString(SR.InterfaceTypeMissing, this.Name)); 193throw new InvalidOperationException(SR.GetString(SR.EventNameMissing, this.Name)); 203throw new InvalidOperationException(SR.GetString(SR.MethodInfoMissing, this.EventName, this.InterfaceType.Name)); 451throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 493throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(HandleExternalEventActivity).FullName), "obj"); 518throw new Exception(SR.GetString(SR.Error_InterfaceTypeNeedsExternalDataExchangeAttribute, "InterfaceType")); 532throw new Exception(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType")); 541return SR.GetString(SR.ShowingExternalDataExchangeService);
Executors\InboundActivityHelper.cs (4)
49throw new ArgumentException(SR.GetString(SR.Error_InvalidEventMessage, activity.QualifiedName)); 62throw new InvalidOperationException(SR.GetString(SR.Error_InvalidLocalServiceMessage));
Executors\InvokeBase.cs (2)
103throw new InvalidOperationException(SR.GetString(SR.Error_CallExternalMethodArgsSerializationException, name), e);
Executors\WorkflowWebService.cs (6)
96methodMessage.SendException(new ApplicationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_WorkflowCompleted))); 123throw new ApplicationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_WorkflowTerminated), response.Exception); 158throw new InvalidOperationException(SR.GetString(SR.Error_NoInstanceInSession));
InvokeMethodActivity.cs (24)
21[SRDescription(SR.CallExternalMethodActivityDescription)] 25[SRCategory(SR.Base)] 57[SRCategory(SR.Activity)] 58[SRDescription(SR.HelperExternalDataExchangeDesc)] 78[SRCategory(SR.Activity)] 79[SRDescription(SR.ExternalMethodNameDescr)] 105[SRCategory(SR.Activity)] 107[SRDescription(SR.CorrelationSetDescr)] 123[SRDescription(SR.OnBeforeMethodInvokeDescr)] 124[SRCategory(SR.Handlers)] 162throw new InvalidOperationException(SR.GetString(SR.InterfaceTypeMissing, this.Name)); 166throw new InvalidOperationException(SR.GetString(SR.MethodNameMissing, this.Name)); 172throw new InvalidOperationException(SR.GetString(SR.MethodInfoMissing, this.MethodName, this.InterfaceType.Name)); 191SR.GetString(SR.Error_MissingInterfaceType), "executionContext"); 198throw new InvalidOperationException(SR.GetString(SR.Error_ServiceNotFound, this.InterfaceType)); 256throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 292throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CallExternalMethodActivity).FullName), "obj");
InvokeSchedule.cs (31)
30[SRDescription(SR.InvokeWorkflowActivityDescription)] 64[SRCategory(SR.Activity)] 65[SRDescription(SR.TargetWorkflowDescr)] 106[SRCategory(SR.Handlers)] 107[SRDescription(SR.InitializeCaleeDescr)] 136throw new InvalidOperationException(SR.GetString(SR.Error_CantInvokeSelf)); 143throw new Exception(SR.GetString(SR.Error_TypeIsNotRootActivity, "TargetWorkflow")); 152return SR.GetString(SR.FilterDescription_InvokeWorkflow); 174throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IStartWorkflow).FullName)); 178throw new InvalidOperationException(SR.GetString(SR.Error_FailedToStartTheWorkflow)); 197throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(InvokeWorkflowActivity).FullName), "obj"); 201ValidationError error = new ValidationError(SR.GetString(SR.Error_TypePropertyInvalid, "TargetWorkflow"), ErrorNumbers.Error_PropertyNotSet); 209throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 221ValidationError error = new ValidationError(SR.GetString(SR.Error_TypeIsNotRootActivity, "TargetWorkflow"), ErrorNumbers.Error_TypeIsNotRootActivity); 239ValidationError error = new ValidationError(SR.GetString(SR.Error_GetCalleeWorkflow, invokeWorkflow.TargetWorkflow), ErrorNumbers.Error_GetCalleeWorkflow); 251ValidationError validationError = new ValidationError(SR.GetString(SR.Error_ExecWithActivationReceive), ErrorNumbers.Error_ExecWithActivationReceive); 276ValidationError validationError = new ValidationError(SR.GetString(SR.Error_ExecInAtomicScope), ErrorNumbers.Error_ExecInAtomicScope); 287ValidationError validationError = new ValidationError(SR.GetString(SR.Error_ParameterNotFound, paramBinding.ParameterName), ErrorNumbers.Error_ParameterNotFound);
InvokeWebService.cs (26)
51[SRDescription(SR.InvokeWebServiceActivityDescription)] 56[SRCategory(SR.Standard)] 213[SRCategory(SR.Activity)] 214[SRDescription(SR.ProxyClassDescr)] 232[SRCategory(SR.Activity)] 233[SRDescription(SR.MethodNameDescr)] 250[SRCategory(SR.Handlers)] 251[SRDescription(SR.OnBeforeMethodInvokeDescr)] 265[SRCategory(SR.Handlers)] 266[SRDescription(SR.OnAfterMethodInvokeDescr)] 281[SRCategory(SR.Activity)] 282[SRDescription(SR.WebServiceSessionIDDescr)] 313throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 387throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 431throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(InvokeWebServiceActivity).FullName), "obj"); 435ValidationError error = new ValidationError(SR.GetString(SR.Error_TypePropertyInvalid, "ProxyClass"), ErrorNumbers.Error_PropertyNotSet); 443throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 455ValidationError error = new ValidationError(SR.GetString(SR.Error_MethodNotExists, "MethodName", invokeWebService.MethodName), ErrorNumbers.Error_MethodNotExists); 507validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
Listen.cs (10)
26[SRDescription(SR.ListenActivityDescription)] 31[SRCategory(SR.Standard)] 232throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 260throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 297throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ListenActivity).FullName), "obj"); 301validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenLessThanTwoChildren), ErrorNumbers.Error_ListenLessThanTwoChildren)); 313validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
LocalService\CorrelationResolver.cs (10)
35throw new ArgumentException(SR.GetString(SR.Error_EventNameMissing)); 48throw new ArgumentException(SR.GetString(SR.Error_EventNameMissing)); 307throw new InvalidOperationException(SR.GetString(SR.Error_ExternalDataExchangeException, interfaceType.AssemblyQualifiedName)); 313throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationParameterException, interfaceType.AssemblyQualifiedName)); 340throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationParameterException, interfaceType.AssemblyQualifiedName, paramAttribute.Name, methodName));
LocalService\CorrelationService.cs (14)
157throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationNotInitialized, reference.Name, activity.QualifiedName)); 173throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationTokenMissing, activity.Name)); 177throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationTokenMissing, activity.Name)); 188throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName)); 191throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName)); 241throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName)); 245throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName));
LocalService\ExternalDataExchangeService.cs (10)
73SR.GetString(SR.Error_ConfigurationSectionNotFound), configSectionName)); 92String.Format(Thread.CurrentThread.CurrentCulture, SR.GetString(SR.Error_UnknownConfigurationParameter), key), "parameters"); 100SR.GetString(SR.Error_ConfigurationSectionNotFound), configurationSectionName)); 281throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeServiceExists), type)); 308throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ServiceMissingExternalDataExchangeInterface)));
LocalService\MethodMessage.cs (6)
188throw new InvalidOperationException(SR.GetString(SR.Error_EventArgumentSerializationException), e); 262throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse))); 275throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse)));
LocalService\WorkflowMessageEventHandler.cs (2)
148throw new EventDeliveryFailedException(SR.GetString(SR.Error_EventDeliveryFailedException, this.proxiedType, this.eventName, eventArgs.InstanceId), e);
Parallel.cs (9)
24[SRDescription(SR.ParallelActivityDescription)] 29[SRCategory(SR.Standard)] 152throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 202throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ParallelActivity).FullName), "obj"); 206validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParallelLessThanTwoChildren), ErrorNumbers.Error_ParallelLessThanTwoChildren)); 220validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParallelNotAllSequence), ErrorNumbers.Error_ParallelNotAllSequence));
Policy.cs (5)
24[SRDescription(SR.PolicyActivityDescription)] 28[SRCategory(SR.Standard)] 56throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 82[SRDescription(SR.RuleSetDescription)]
Role\ADRoleFactory.cs (2)
95throw new ArgumentException(SR.GetString(SR.Error_NoMatchingActiveDirectoryEntry));
Role\RoleExceptions.cs (2)
19: base(SR.GetString(SR.WorkflowAuthorizationException, activityName, principalName))
Role\WebWorkflowRole.cs (2)
91throw new ProviderException(SR.GetString(SR.Error_RoleProviderNotAvailableOrEnabled, this.RoleProvider));
Rules\DeclarativeConditionsCollection.cs (8)
56throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 70throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 78throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 92throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Rules\DeclarativeExpressionConditionDeclaration.cs (9)
52throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 68throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 214[SRDisplayName(SR.RuleConditionDisplayName)] 240throw new InvalidOperationException(SR.GetString(SR.Error_MissingConditionName, activity.Name)); 259throw new InvalidOperationException(SR.GetString(SR.Error_MissingRuleConditions));
Rules\Design\LogicalExpressionTypeConverter.cs (2)
426return SR.GetString(SR.RuleSetDefinitionDescription);
Rules\Rule.cs (12)
66throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 77throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 88throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 99throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 110throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 121throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Rules\RuleSet.cs (8)
60throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 71throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 82throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 132throw new ArgumentException(SR.GetString(SR.Error_MissingValidationProperty), "ruleExecution");
Rules\RuleSetCollection.cs (8)
36throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 50throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 58throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 66throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Schedule.cs (8)
26[SRCategory(SR.Standard)] 27[SRDisplayName(SR.SequentialWorkflow)] 48[SRDescription(SR.DynamicUpdateConditionDescr)] 49[SRCategory(SR.Conditions)] 65[SRDescription(SR.OnInitializedDescr)] 66[SRCategory(SR.Handlers)] 80[SRDescription(SR.OnCompletedDescr)] 81[SRCategory(SR.Handlers)]
Sequence.cs (3)
20[SRDescription(SR.SequenceActivityDescription)] 24[SRCategory(SR.Standard)] 116throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender");
SetState.cs (10)
21[SRDescription(SR.SetStateActivityDescription)] 26[SRCategory(SR.Standard)] 48[SRDescription(SR.TargetStateDescription)] 85throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateActivity).FullName), "obj"); 93SR.GetString(SR.Error_PropertyNotSet, SetStateActivity.TargetStateNamePropertyName), 110validationErrors.Add(new ValidationError(SR.GetError_SetStateMustPointToAState(), ErrorNumbers.Error_SetStateMustPointToAState, false, SetStateActivity.TargetStateNamePropertyName)); 116validationErrors.Add(new ValidationError(SR.GetError_SetStateMustPointToALeafNodeState(), ErrorNumbers.Error_SetStateMustPointToALeafNodeState, false, SetStateActivity.TargetStateNamePropertyName)); 143validationErrors.Add(new ValidationError(SR.GetError_SetStateOnlyWorksOnStateMachineWorkflow(), ErrorNumbers.Error_SetStateOnlyWorksOnStateMachineWorkflow));
SR.cs (9)
16DescriptionValue = SR.GetString(description); 54return SR.GetString(value); 64DisplayNameValue = SR.GetString(name); 82static SR loader = null; 90private static SR GetLoader() 104return GetString(SR.Culture, name, args); 108SR sys = GetLoader(); 125return GetString(SR.Culture, name); 130SR sys = GetLoader();
State.cs (14)
26[SRDescription(SR.StateActivityDescription)] 31[SRCategory(SR.Standard)] 72throw new ArgumentException(SR.GetString(SR.Error_StateChildNotFound), "childActivity"); 103throw new ArgumentException(SR.GetString(SR.Error_StateChildNotFound), "childActivityName"); 116throw new InvalidOperationException(SR.GetError_StateActivityMustBeContainedInAStateMachine()); 120throw new InvalidOperationException(SR.GetError_CannotExecuteStateMachineWithoutInitialState()); 359throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 372throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 420throw new InvalidOperationException(SR.GetInvalidActivityStatus(context.Activity)); 427throw new InvalidOperationException(SR.GetError_InvalidLeafStateChild()); 429throw new InvalidOperationException(SR.GetError_InvalidCompositeStateChild()); 474throw new InvalidOperationException(SR.GetInvalidSetStateInStateInitialization());
StateFinalizationActivity.cs (7)
21[SRDescription(SR.StateFinalizationActivityDescription)] 26[SRCategory(SR.Standard)] 50throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateFinalizationActivity).FullName), "obj"); 55validationErrors.Add(new ValidationError(SR.GetError_StateFinalizationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState)); 68SR.GetError_MultipleStateFinalizationActivities(), ErrorNumbers.Error_MultipleStateFinalizationActivities)); 75validationErrors.Add(new ValidationError(SR.GetError_EventActivityNotValidInStateFinalization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler));
StateInitialization.cs (8)
21[SRDescription(SR.StateInitializationActivityDescription)] 26[SRCategory(SR.Standard)] 50throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateInitializationActivity).FullName), "obj"); 55validationErrors.Add(new ValidationError(SR.GetError_StateInitializationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState)); 68SR.GetError_MultipleStateInitializationActivities(), ErrorNumbers.Error_MultipleStateInitializationActivities)); 77validationErrors.Add(new ValidationError(SR.GetError_EventActivityNotValidInStateInitialization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler)); 107SR.GetError_InvalidTargetStateInStateInitialization(), ErrorNumbers.Error_InvalidTargetStateInStateInitialization));
StateMachineExecutionState.cs (3)
196throw new InvalidOperationException(SR.GetInvalidStateMachineAction(action.StateName)); 232throw new InvalidOperationException(SR.GetUnableToTransitionToState(targetStateName)); 253throw new InvalidOperationException(SR.GetInvalidStateTransitionPath());
StateMachineSubscription.cs (2)
50throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 230throw new InvalidOperationException(SR.GetStateMachineWorkflowMustHaveACurrentState());
StateMachineSubscriptionManager.cs (1)
119throw new InvalidOperationException(SR.GetStateAlreadySubscribesToThisEvent(state.QualifiedName, queueName));
StateMachineWorkflow.cs (7)
17[SRDescription(SR.StateMachineWorkflowActivityDescription)] 23[SRCategory(SR.Standard)] 24[SRDisplayName(SR.StateMachineWorkflow)] 47[SRDescription(SR.DynamicUpdateConditionDescr)] 48[SRCategory(SR.Conditions)] 63[SRDescription(SR.InitialStateDescription)] 78[SRDescription(SR.CompletedStateDescription)]
StateMachineWorkflowInstance.cs (4)
48throw new ArgumentException(SR.GetStateMachineWorkflowRequired(), "instanceId"); 268throw new InvalidOperationException(SR.GetSqlTrackingServiceRequired()); 306throw new InvalidOperationException(SR.GetInvalidUserDataInStateChangeTrackingRecord()); 310throw new InvalidOperationException(SR.GetInvalidUserDataInStateChangeTrackingRecord());
StateValidator.cs (22)
38throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateActivity).FullName), "obj"); 45validationErrors.Add(new ValidationError(SR.GetError_StateMachineWorkflowMustBeARootActivity(), ErrorNumbers.Error_StateMachineWorkflowMustBeARootActivity)); 55validationErrors.Add(new ValidationError(SR.GetError_InvalidStateActivityParent(), ErrorNumbers.Error_InvalidStateActivityParent)); 88validationErrors.Add(new ValidationError(SR.GetError_BlackBoxCustomStateNotSupported(), ErrorNumbers.Error_BlackBoxCustomStateNotSupported)); 103return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, activity.ExecutionStatus, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2); 118SR.GetError_CantRemoveState(removedState.QualifiedName), 128SR.GetError_CantRemoveEventDrivenFromExecutingState(removedEventDriven.QualifiedName, activity.QualifiedName), 193SR.GetError_InvalidLeafStateChild(), 220SR.GetError_InvalidCompositeStateChild(), 234SR.GetString(SR.Error_PropertyNotSet, StateMachineWorkflowActivity.InitialStateNamePropertyName), 247SR.GetError_InitialStateMustPointToAState(), 257SR.GetError_InitialStateMustPointToALeafNodeState(), 268SR.GetError_InitialStateMustBeDifferentThanCompletedState(), 288SR.GetError_CompletedStateMustPointToAState(), 299SR.GetString(SR.Error_CompletedStateCannotContainActivities), 307SR.GetError_CompletedStateMustPointToALeafNodeState(), 360SR.GetString(SR.Error_EventDrivenMultipleEventActivity, eventDriven.Name, typeof(IEventActivity).FullName, typeof(EventDrivenActivity).Name),
Task.cs (93)
27[SRDescription(SR.ReplicatorActivityDescription)] 78[SRCategory(SR.Properties)] 79[SRDescription(SR.ExecutionTypeDescr)] 92throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorChildRunning)); 100[SRCategory(SR.Properties)] 101[SRDescription(SR.InitialChildDataDescr)] 132[SRCategory(SR.Conditions)] 133[SRDescription(SR.ReplicatorUntilConditionDescr)] 195[SRDescription(SR.OnGeneratorChildInitializedDescr)] 196[SRCategory(SR.Handlers)] 210[SRDescription(SR.OnGeneratorChildCompletedDescr)] 211[SRCategory(SR.Handlers)] 225[SRDescription(SR.OnCompletedDescr)] 226[SRCategory(SR.Handlers)] 240[SRDescription(SR.OnInitializedDescr)] 241[SRCategory(SR.Handlers)] 261throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 264throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 277throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 280throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 305throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 308throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 331throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 334throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 353throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 356throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 489throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 650throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorInvalidExecutionType)); 773throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 1000throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1008throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1016throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1024throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1032throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1056throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1064throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1074throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1077throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1080throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1087throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1090throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1093throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1106throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1109throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1112throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1118throw new ArgumentException(SR.GetString(SR.Error_MultiDimensionalArray), "array"); 1124throw new ArgumentException(SR.GetString(SR.Error_InsufficientArrayPassedIn), "array"); 1138throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1141throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1144throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1176throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1179throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1182throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1243throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ReplicatorActivity).FullName), "obj"); 1246validationErrors.Add(new ValidationError(SR.GetString(SR.Error_GeneratorShouldContainSingleActivity), ErrorNumbers.Error_GeneratorShouldContainSingleActivity));
WebServiceFault.cs (31)
22[SRDescription(SR.WebServiceFaultActivityDescription)] 23[SRCategory(SR.Standard)] 51[SRCategory(SR.Activity)] 52[SRDescription(SR.ReceiveActivityNameDescription)] 71[SRCategory(SR.Properties)] 89[SRDescription(SR.OnBeforeFaultingDescr)] 90[SRCategory(SR.Handlers)] 127throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 139throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.Name)); 177throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WebServiceFaultActivity).FullName), "obj"); 193throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 202validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceFaultFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound)); 204validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceResponseFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound)); 222validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotValid, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid)); 231validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotFound, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound)); 242validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 249validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 257validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 266validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceFaultNotNeeded), ErrorNumbers.Error_WebServiceFaultNotNeeded));
WebServiceReceive.cs (48)
24[SRDescription(SR.WebServiceReceiveActivityDescription)] 25[SRCategory(SR.Standard)] 65[SRCategory(SR.Activity)] 66[SRDescription(SR.InterfaceTypeDescription)] 84[SRCategory(SR.Activity)] 85[SRDescription(SR.WebServiceMethodDescription)] 113[SRCategory(SR.Activity)] 114[SRDescription(SR.RoleDescr)] 129[SRCategory(SR.Activity)] 130[SRDescription(SR.ActivationDescr)] 146[SRDescription(SR.OnAfterReceiveDescr)] 147[SRCategory(SR.Handlers)] 177throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 212throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 448throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 482throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WebServiceInputActivity).FullName), "obj"); 493ValidationError error = new ValidationError(SR.GetString(SR.Error_ActivationActivityNotFirst), ErrorNumbers.Error_ActivationActivityNotFirst); 501ValidationError error = new ValidationError(SR.GetString(SR.Error_ActivationActivityInsideLoop), ErrorNumbers.Error_ActivationActivityInsideLoop); 511ValidationError error = new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotMarkedActivate), ErrorNumbers.Error_WebServiceReceiveNotMarkedActivate); 520throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 528ValidationError error = new ValidationError(SR.GetString(SR.Error_TypePropertyInvalid, "InterfaceType"), ErrorNumbers.Error_PropertyNotSet); 534ValidationError error = new ValidationError(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType"), ErrorNumbers.Error_InterfaceTypeNotInterface); 549ValidationError error = new ValidationError(SR.GetString(SR.Error_MethodNotExists, "MethodName", webServiceReceive.MethodName), ErrorNumbers.Error_MethodNotExists); 587ValidationError validationError = new ValidationError(SR.GetString(SR.Error_TypeNotPublicSerializable, paramName, paramType.FullName), ErrorNumbers.Error_TypeNotPublicSerializable); 612validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true)); 629validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceResponseNotFound), ErrorNumbers.Error_WebServiceResponseNotFound)); 657throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 662throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(CodeNamespaceCollection).Name)); 889throw new Exception(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType")); 897return SR.GetString(SR.InterfaceTypeFilterDescription);
WebServiceResponse.cs (42)
20[SRDescription(SR.WebServiceResponseActivityDescription)] 21[SRCategory(SR.Standard)] 55[SRCategory(SR.Activity)] 56[SRDescription(SR.ReceiveActivityNameDescription)] 84[SRDescription(SR.OnBeforeResponseDescr)] 85[SRCategory(SR.Handlers)] 118throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 149throw new InvalidOperationException(SR.GetString(SR.Error_CannotResolveWebServiceInput, this.QualifiedName, this.InputActivityName)); 179throw new InvalidOperationException(SR.GetString(SR.Error_WebServiceInputNotProcessed, webservicereceive.QualifiedName)); 254throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 302throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WebServiceOutputActivity).FullName), "obj"); 317throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 326validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceResponseFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound)); 328validationErrors.Add(new ValidationError(SR.GetString(SR.Error_DuplicateWebServiceFaultFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound)); 345validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotValid, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid)); 354validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotFound, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound)); 365validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 371validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 378validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured)); 398validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceResponseNotNeeded), ErrorNumbers.Error_WebServiceResponseNotNeeded)); 422ValidationError validationError = new ValidationError(SR.GetString(SR.Error_TypeNotPublicSerializable, paramName, paramType.FullName), ErrorNumbers.Error_TypeNotPublicSerializable); 450validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true)); 693validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParameterTypeNotFound, methodInfo.Name, paramInfo.Name), ErrorNumbers.Error_ParameterTypeNotFound)); 699validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ReturnTypeNotFound, methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotFound));
While.cs (10)
22[SRDescription(SR.WhileActivityDescription)] 49[SRCategory(SR.Conditions)] 50[SRDescription(SR.WhileConditionDescr)] 148throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 169throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WhileActivity).FullName), "obj"); 171validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WhileShouldHaveOneChild), ErrorNumbers.Error_WhileShouldHaveOneChild)); 187return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);