141 references to GetString
System.Workflow.Activities (141)
Common\BasePropertyDescriptor.cs (4)
331qualifier = SR.GetString(SR.Ref); 333qualifier = SR.GetString(SR.Out); 335qualifier = SR.GetString(SR.In); 378return SR.GetString(SR.Parameters);
Conditional.cs (3)
61throw new InvalidOperationException(SR.GetString(SR.Error_ConditionalBranchUpdateAtRuntime)); 149validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalLessThanOneChildren), ErrorNumbers.Error_IfElseLessThanOneChildren)); 156validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalDeclNotAllConditionalBranchDecl), ErrorNumbers.Error_IfElseNotAllIfElseBranchDecl));
ConditionalBranch.cs (1)
73validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ConditionalBranchParentNotConditional), ErrorNumbers.Error_ConditionalBranchParentNotConditional));
ConstrainedGroup.cs (1)
501throw new ArgumentException(SR.GetString(SR.Error_InvalidCAGActivityType), "activity");
CorrelationValidator.cs (15)
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); 79ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 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); 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); 930SR.GetString(SR.Error_EventArgumentValidationException), type.FullName),
Delay.cs (1)
240throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
Designers\InvokeWebServiceDesigner.cs (1)
123trans = host.CreateTransaction(SR.GetString(SR.ChangingVariable));
Designers\StateDesigner.cs (2)
1790transaction = designerHost.CreateTransaction(SR.GetString(SR.UndoSwitchViews)); 2147transaction = designerHost.CreateTransaction(SR.GetString(SR.UndoSwitchViews));
EventDriven.cs (3)
78message = SR.GetString(SR.Error_EventDrivenNoFirstActivity); 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 (5)
86throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 430throw new ArgumentException(SR.GetString(SR.Error_EventHandlersChildNotFound), "childActivity"); 461throw new ArgumentException(SR.GetString(SR.Error_EventHandlersChildNotFound), "childActivityName"); 477validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MustHaveParent), ErrorNumbers.Error_EventHandlersDeclParentNotScope)); 494validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
EventSinkActivity.cs (1)
541return SR.GetString(SR.ShowingExternalDataExchangeService);
Executors\InboundActivityHelper.cs (1)
62throw new InvalidOperationException(SR.GetString(SR.Error_InvalidLocalServiceMessage));
Executors\WorkflowWebService.cs (1)
158throw new InvalidOperationException(SR.GetString(SR.Error_NoInstanceInSession));
InvokeMethodActivity.cs (1)
191SR.GetString(SR.Error_MissingInterfaceType), "executionContext");
InvokeSchedule.cs (5)
136throw new InvalidOperationException(SR.GetString(SR.Error_CantInvokeSelf)); 152return SR.GetString(SR.FilterDescription_InvokeWorkflow); 178throw new InvalidOperationException(SR.GetString(SR.Error_FailedToStartTheWorkflow)); 251ValidationError validationError = new ValidationError(SR.GetString(SR.Error_ExecWithActivationReceive), ErrorNumbers.Error_ExecWithActivationReceive); 276ValidationError validationError = new ValidationError(SR.GetString(SR.Error_ExecInAtomicScope), ErrorNumbers.Error_ExecInAtomicScope);
InvokeWebService.cs (1)
507validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
Listen.cs (2)
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 (2)
35throw new ArgumentException(SR.GetString(SR.Error_EventNameMissing)); 48throw new ArgumentException(SR.GetString(SR.Error_EventNameMissing));
LocalService\ExternalDataExchangeService.cs (5)
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 (3)
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)));
Parallel.cs (2)
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 (1)
56throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
Role\ADRoleFactory.cs (1)
95throw new ArgumentException(SR.GetString(SR.Error_NoMatchingActiveDirectoryEntry));
Rules\DeclarativeConditionsCollection.cs (4)
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 (3)
52throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 68throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 259throw new InvalidOperationException(SR.GetString(SR.Error_MissingRuleConditions));
Rules\Design\LogicalExpressionTypeConverter.cs (1)
426return SR.GetString(SR.RuleSetDefinitionDescription);
Rules\Rule.cs (6)
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 (4)
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 (4)
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));
SR.cs (4)
16DescriptionValue = SR.GetString(description); 54return SR.GetString(value); 64DisplayNameValue = SR.GetString(name); 488return GetString(InvalidStateTransitionPath);
State.cs (2)
72throw new ArgumentException(SR.GetString(SR.Error_StateChildNotFound), "childActivity"); 103throw new ArgumentException(SR.GetString(SR.Error_StateChildNotFound), "childActivityName");
StateValidator.cs (1)
299SR.GetString(SR.Error_CompletedStateCannotContainActivities),
Task.cs (37)
92throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorChildRunning)); 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)); 650throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorInvalidExecutionType)); 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)); 1246validationErrors.Add(new ValidationError(SR.GetString(SR.Error_GeneratorShouldContainSingleActivity), ErrorNumbers.Error_GeneratorShouldContainSingleActivity));
WebServiceFault.cs (2)
127throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 266validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceFaultNotNeeded), ErrorNumbers.Error_WebServiceFaultNotNeeded));
WebServiceReceive.cs (7)
212throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 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); 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)); 897return SR.GetString(SR.InterfaceTypeFilterDescription);
WebServiceResponse.cs (3)
118throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 398validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WebServiceResponseNotNeeded), ErrorNumbers.Error_WebServiceResponseNotNeeded)); 450validationErrors.Add(new ValidationError(SR.GetString(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
While.cs (1)
171validationErrors.Add(new ValidationError(SR.GetString(SR.Error_WhileShouldHaveOneChild), ErrorNumbers.Error_WhileShouldHaveOneChild));