141 references to GetString
System.Workflow.Activities (141)
Common\BasePropertyDescriptor.cs (4)
331
qualifier = SR.
GetString
(SR.Ref);
333
qualifier = SR.
GetString
(SR.Out);
335
qualifier = SR.
GetString
(SR.In);
378
return SR.
GetString
(SR.Parameters);
Conditional.cs (3)
61
throw new InvalidOperationException(SR.
GetString
(SR.Error_ConditionalBranchUpdateAtRuntime));
149
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ConditionalLessThanOneChildren), ErrorNumbers.Error_IfElseLessThanOneChildren));
156
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ConditionalDeclNotAllConditionalBranchDecl), ErrorNumbers.Error_IfElseNotAllIfElseBranchDecl));
ConditionalBranch.cs (1)
73
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ConditionalBranchParentNotConditional), ErrorNumbers.Error_ConditionalBranchParentNotConditional));
ConstrainedGroup.cs (1)
501
throw new ArgumentException(SR.
GetString
(SR.Error_InvalidCAGActivityType), "activity");
CorrelationValidator.cs (15)
40
ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_GenericMethodsNotSupported), interfaceType.FullName), ErrorNumbers.Error_GenericMethodsNotSupported);
49
ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_ExternalDataExchangeException), interfaceType.FullName), ErrorNumbers.Error_TypeNotExist);
79
ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported);
110
validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_CorrelationTokenSpecifiedForUncorrelatedInterface), activity.QualifiedName, interfaceType), ErrorNumbers.Error_InvalidIdentifier, false, "CorrelationToken"));
121
validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_MissingCorrelationTokenProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken"));
127
validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_MissingCorrelationTokenOwnerNameProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken"));
158
ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_OwnerActivityIsNotParent), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet);
172
ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_InitializerInReplicator), replicatorParent.QualifiedName), ErrorNumbers.Error_InitializerInReplicator, false);
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);
428
string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_GenericMethodsNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported);
439
string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_ReturnTypeNotVoid), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotVoid);
452
string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_OutRefParameterNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name, param.Name), ErrorNumbers.Error_OutRefParameterNotSupported);
930
SR.
GetString
(SR.Error_EventArgumentValidationException), type.FullName),
Delay.cs (1)
240
throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
Designers\InvokeWebServiceDesigner.cs (1)
123
trans = host.CreateTransaction(SR.
GetString
(SR.ChangingVariable));
Designers\StateDesigner.cs (2)
1790
transaction = designerHost.CreateTransaction(SR.
GetString
(SR.UndoSwitchViews));
2147
transaction = designerHost.CreateTransaction(SR.
GetString
(SR.UndoSwitchViews));
EventDriven.cs (3)
78
message = SR.
GetString
(SR.Error_EventDrivenNoFirstActivity);
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);
EventHandlers.cs (5)
86
throw new InvalidOperationException(SR.
GetString
(SR.Error_MustHaveParent));
430
throw new ArgumentException(SR.
GetString
(SR.Error_EventHandlersChildNotFound), "childActivity");
461
throw new ArgumentException(SR.
GetString
(SR.Error_EventHandlersChildNotFound), "childActivityName");
477
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_MustHaveParent), ErrorNumbers.Error_EventHandlersDeclParentNotScope));
494
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
EventSinkActivity.cs (1)
541
return SR.
GetString
(SR.ShowingExternalDataExchangeService);
Executors\InboundActivityHelper.cs (1)
62
throw new InvalidOperationException(SR.
GetString
(SR.Error_InvalidLocalServiceMessage));
Executors\WorkflowWebService.cs (1)
158
throw new InvalidOperationException(SR.
GetString
(SR.Error_NoInstanceInSession));
InvokeMethodActivity.cs (1)
191
SR.
GetString
(SR.Error_MissingInterfaceType), "executionContext");
InvokeSchedule.cs (5)
136
throw new InvalidOperationException(SR.
GetString
(SR.Error_CantInvokeSelf));
152
return SR.
GetString
(SR.FilterDescription_InvokeWorkflow);
178
throw new InvalidOperationException(SR.
GetString
(SR.Error_FailedToStartTheWorkflow));
251
ValidationError validationError = new ValidationError(SR.
GetString
(SR.Error_ExecWithActivationReceive), ErrorNumbers.Error_ExecWithActivationReceive);
276
ValidationError validationError = new ValidationError(SR.
GetString
(SR.Error_ExecInAtomicScope), ErrorNumbers.Error_ExecInAtomicScope);
InvokeWebService.cs (1)
507
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
Listen.cs (2)
301
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ListenLessThanTwoChildren), ErrorNumbers.Error_ListenLessThanTwoChildren));
313
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
LocalService\CorrelationResolver.cs (2)
35
throw new ArgumentException(SR.
GetString
(SR.Error_EventNameMissing));
48
throw new ArgumentException(SR.
GetString
(SR.Error_EventNameMissing));
LocalService\ExternalDataExchangeService.cs (5)
73
SR.
GetString
(SR.Error_ConfigurationSectionNotFound), configSectionName));
92
String.Format(Thread.CurrentThread.CurrentCulture, SR.
GetString
(SR.Error_UnknownConfigurationParameter), key), "parameters");
100
SR.
GetString
(SR.Error_ConfigurationSectionNotFound), configurationSectionName));
281
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_ExternalDataExchangeServiceExists), type));
308
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_ServiceMissingExternalDataExchangeInterface)));
LocalService\MethodMessage.cs (3)
188
throw new InvalidOperationException(SR.
GetString
(SR.Error_EventArgumentSerializationException), e);
262
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse)));
275
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.
GetString
(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse)));
Parallel.cs (2)
206
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ParallelLessThanTwoChildren), ErrorNumbers.Error_ParallelLessThanTwoChildren));
220
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_ParallelNotAllSequence), ErrorNumbers.Error_ParallelNotAllSequence));
Policy.cs (1)
56
throw new InvalidOperationException(SR.
GetString
(SR.Error_MustHaveParent));
Role\ADRoleFactory.cs (1)
95
throw new ArgumentException(SR.
GetString
(SR.Error_NoMatchingActiveDirectoryEntry));
Rules\DeclarativeConditionsCollection.cs (4)
56
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
70
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
78
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
92
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
Rules\DeclarativeExpressionConditionDeclaration.cs (3)
52
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
68
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
259
throw new InvalidOperationException(SR.
GetString
(SR.Error_MissingRuleConditions));
Rules\Design\LogicalExpressionTypeConverter.cs (1)
426
return SR.
GetString
(SR.RuleSetDefinitionDescription);
Rules\Rule.cs (6)
66
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
77
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
88
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
99
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
110
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
121
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
Rules\RuleSet.cs (4)
60
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
71
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
82
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
132
throw new ArgumentException(SR.
GetString
(SR.Error_MissingValidationProperty), "ruleExecution");
Rules\RuleSetCollection.cs (4)
36
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
50
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
58
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
66
throw new InvalidOperationException(SR.
GetString
(SR.Error_CanNotChangeAtRuntime));
SR.cs (4)
16
DescriptionValue = SR.
GetString
(description);
54
return SR.
GetString
(value);
64
DisplayNameValue = SR.
GetString
(name);
488
return
GetString
(InvalidStateTransitionPath);
State.cs (2)
72
throw new ArgumentException(SR.
GetString
(SR.Error_StateChildNotFound), "childActivity");
103
throw new ArgumentException(SR.
GetString
(SR.Error_StateChildNotFound), "childActivityName");
StateValidator.cs (1)
299
SR.
GetString
(SR.Error_CompletedStateCannotContainActivities),
Task.cs (37)
92
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorChildRunning));
261
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
264
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
277
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
280
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
305
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
308
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
331
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
334
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
353
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
356
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
650
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorInvalidExecutionType));
1000
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1008
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1016
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1024
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1032
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1056
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1064
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1074
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1077
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
1080
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
1087
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1090
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
1093
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
1106
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1109
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
1112
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
1118
throw new ArgumentException(SR.
GetString
(SR.Error_MultiDimensionalArray), "array");
1124
throw new ArgumentException(SR.
GetString
(SR.Error_InsufficientArrayPassedIn), "array");
1138
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1141
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
1144
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
1176
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorDisconnected));
1179
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotExecuting));
1182
throw new InvalidOperationException(SR.
GetString
(SR.Error_ReplicatorNotInitialized));
1246
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_GeneratorShouldContainSingleActivity), ErrorNumbers.Error_GeneratorShouldContainSingleActivity));
WebServiceFault.cs (2)
127
throw new InvalidOperationException(SR.
GetString
(SR.Error_MustHaveParent));
266
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_WebServiceFaultNotNeeded), ErrorNumbers.Error_WebServiceFaultNotNeeded));
WebServiceReceive.cs (7)
212
throw new InvalidOperationException(SR.
GetString
(SR.Error_MustHaveParent));
493
ValidationError error = new ValidationError(SR.
GetString
(SR.Error_ActivationActivityNotFirst), ErrorNumbers.Error_ActivationActivityNotFirst);
501
ValidationError error = new ValidationError(SR.
GetString
(SR.Error_ActivationActivityInsideLoop), ErrorNumbers.Error_ActivationActivityInsideLoop);
511
ValidationError error = new ValidationError(SR.
GetString
(SR.Error_WebServiceReceiveNotMarkedActivate), ErrorNumbers.Error_WebServiceReceiveNotMarkedActivate);
612
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
629
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_WebServiceResponseNotFound), ErrorNumbers.Error_WebServiceResponseNotFound));
897
return SR.
GetString
(SR.InterfaceTypeFilterDescription);
WebServiceResponse.cs (3)
118
throw new InvalidOperationException(SR.
GetString
(SR.Error_MustHaveParent));
398
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_WebServiceResponseNotNeeded), ErrorNumbers.Error_WebServiceResponseNotNeeded));
450
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
While.cs (1)
171
validationErrors.Add(new ValidationError(SR.
GetString
(SR.Error_WhileShouldHaveOneChild), ErrorNumbers.Error_WhileShouldHaveOneChild));