1 instantiation of SR
System.Workflow.Activities (1)
SR.cs (1)
93
loader = 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)
321
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ParameterTypeResolution, paramInfo.Name));
331
qualifier =
SR
.GetString(
SR
.Ref);
333
qualifier =
SR
.GetString(
SR
.Out);
335
qualifier =
SR
.GetString(
SR
.In);
336
this.desc =
SR
.GetString(
SR
.ParameterDescription, paramInfo.ParameterType.FullName);
347
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ParameterTypeResolution, propertyName));
352
this.desc =
SR
.GetString(
SR
.InvokeParameterDescription, propertyType.FullName.ToString());
378
return
SR
.GetString(
SR
.Parameters);
Common\CompModHelpers.cs (6)
309
SR
.GetString(
SR
.General_MissingService, typeof(IDesignerHost).Name));
358
SR
.GetString(
SR
.General_MissingService, typeof(IDesignerHost).Name));
435
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).Name));
Common\ValidationHelpers.cs (14)
47
throw new Exception(
SR
.GetString(
SR
.Error_InvalidLanguageIdentifier, identifier));
58
error = new ValidationError(
SR
.GetString(
SR
.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet);
67
error = new ValidationError(
SR
.GetString(
SR
.Error_InvalidIdentifier, propName, e.Message), ErrorNumbers.Error_InvalidIdentifier);
82
error = new ValidationError(
SR
.GetString(
SR
.Error_PropertyNotSet, propName), ErrorNumbers.Error_PropertyNotSet);
92
error = new ValidationError(
SR
.GetString(
SR
.Error_InvalidIdentifier, propName,
SR
.GetString(
SR
.Error_InvalidLanguageIdentifier, identifier)), ErrorNumbers.Error_InvalidIdentifier);
116
ValidationError 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)]
61
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ConditionalBranchUpdateAtRuntime));
131
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
145
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(IfElseActivity).FullName), "obj");
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));
173
return 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)]
68
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(IfElseBranchActivity).FullName), "obj");
73
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_ConditionalBranchParentNotConditional), ErrorNumbers.Error_ConditionalBranchParentNotConditional));
ConstrainedGroup.cs (28)
26
[SRDescription(
SR
.ConstrainedGroupActivityDescription)]
31
[SRCategory(
SR
.Standard)]
61
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject");
71
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject");
76
[SRCategory(
SR
.Conditions)]
77
[SRDescription(
SR
.UntilConditionDescr)]
99
throw new ArgumentException(
SR
.GetString(
SR
.Error_CAGChildNotFound, childActivity.QualifiedName, this.QualifiedName), "childActivity");
130
throw new ArgumentException(
SR
.GetString(
SR
.Error_CAGChildNotFound, childActivityName, this.QualifiedName), "childActivityName");
142
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CAGNotExecuting, this.QualifiedName));
147
throw new ArgumentException(
SR
.GetString(
SR
.Error_CAGChildNotFound, child.QualifiedName, this.QualifiedName), "child");
165
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ContextStackItemMissing, typeof(Activity).Name));
177
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_NestedConstrainedGroupConditions, propertyName), ErrorNumbers.Error_NestedConstrainedGroupConditions);
382
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CAGQuiet, cag.QualifiedName));
501
throw new ArgumentException(
SR
.GetString(
SR
.Error_InvalidCAGActivityType), "activity");
808
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(ConditionedActivityGroup).FullName), "obj");
824
return new ValidationError(
SR
.GetString(
SR
.Error_DynamicActivity2, activity.QualifiedName, activity.ExecutionStatus, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
CorrelationValidator.cs (66)
32
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
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);
74
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_MissingMethodName, activity.Name, ((CallExternalMethodActivity)activity).MethodName), ErrorNumbers.Error_MissingMethodName));
79
ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture,
SR
.GetString(
SR
.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported);
94
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_MissingEventName, activity.Name, ((HandleExternalEventActivity)activity).EventName), ErrorNumbers.Error_MissingMethodName));
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);
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);
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);
478
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_CorrelationAttributeInvalid, typeof(CorrelationParameterAttribute).Name, "Name", interfaceType.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
485
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_DuplicateCorrelationAttribute, typeof(CorrelationParameterAttribute).Name, parameterAttribute.Name, interfaceType.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute);
576
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_CorrelationParameterNotFound, typeof(CorrelationAliasAttribute).Name, paramName, memberInfo.Name, typeof(CorrelationParameterAttribute).Name, interfaceType.Name), ErrorNumbers.Error_CorrelationParameterNotFound);
602
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_CorrelationInvalid, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramName), ErrorNumbers.Error_CorrelationInvalid);
609
ValidationError 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);
618
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_CorrelationInitializerNotDefinied, interfaceType.Name), ErrorNumbers.Error_CorrelationInitializerNotDefinied);
645
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_MissingCorrelationParameterAttribute, interfaceType.Name), ErrorNumbers.Error_MissingCorrelationParameterAttribute);
675
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Name", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
683
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Path", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
691
ValidationError error = new ValidationError(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_DuplicateCorrelationAttribute, typeof(CorrelationAliasAttribute).Name, aliasAttribute.Name, memberInfo.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute);
817
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
880
validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture,
SR
.GetString(
SR
.Error_InvalidEventArgsSignature, operation)), ErrorNumbers.Error_FieldNotExists, false, "EventName"));
891
validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture,
SR
.GetString(
SR
.Error_InvalidEventPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings"));
893
validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture,
SR
.GetString(
SR
.Error_InvalidMethodPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings"));
930
SR
.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)]
161
errors.Add(new ValidationError(
SR
.GetString(
SR
.Error_NegativeValue, new object[] { delay.TimeoutDuration.ToString(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue));
240
throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture,
SR
.GetString(
SR
.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
244
throw new Exception(
SR
.GetString(
SR
.InvalidTimespanFormat, timeSpan));
283
throw 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)
76
throw new Exception(
SR
.GetString(
SR
.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\InvokeMethodActivityDesigner.cs (2)
75
throw new Exception(
SR
.GetString(
SR
.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\InvokeWebServiceDesigner.cs (10)
82
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
88
[SRCategory(
SR
.Activity)]
89
[SRDescription(
SR
.URLDescr)]
117
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(IExtendedUIService).FullName));
123
trans = host.CreateTransaction(
SR
.GetString(
SR
.ChangingVariable));
154
throw new Exception(
SR
.GetString(
SR
.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\StateDesigner.cs (13)
1244
transaction = designerHost.CreateTransaction(
SR
.GetMoveSetState());
1790
transaction = designerHost.CreateTransaction(
SR
.GetString(
SR
.UndoSwitchViews));
1859
transaction = designerHost.CreateTransaction(
SR
.GetUndoSetAsInitialState(state.Name));
1893
transaction = designerHost.CreateTransaction(
SR
.GetUndoSetAsCompletedState(state.Name));
2147
transaction = 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)
108
throw new Exception(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
112
throw new Exception(
SR
.GetString(
SR
.Error_TypeNotResolved, value));
Designers\WebServiceResponseDesigner.cs (2)
30
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
EventDriven.cs (12)
22
[SRDescription(
SR
.EventDrivenActivityDescription)]
27
[SRCategory(
SR
.Standard)]
63
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(EventDrivenActivity).FullName), "obj");
70
validationErrors.Add(new ValidationError(
SR
.GetError_EventDrivenParentNotListen(), ErrorNumbers.Error_EventDrivenParentNotListen));
78
message =
SR
.GetString(
SR
.Error_EventDrivenNoFirstActivity);
83
message =
SR
.GetError_EventDrivenInvalidFirstActivity();
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 (16)
25
[SRCategory(
SR
.Standard)]
86
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MustHaveParent));
246
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
430
throw new ArgumentException(
SR
.GetString(
SR
.Error_EventHandlersChildNotFound), "childActivity");
461
throw new ArgumentException(
SR
.GetString(
SR
.Error_EventHandlersChildNotFound), "childActivityName");
473
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(EventHandlersActivity).FullName), "obj");
477
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_MustHaveParent), ErrorNumbers.Error_EventHandlersDeclParentNotScope));
483
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_EventHandlersDeclParentNotScope, eventHandlers.Parent.QualifiedName), ErrorNumbers.Error_EventHandlersDeclParentNotScope));
494
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_ListenNotAllEventDriven), ErrorNumbers.Error_ListenNotAllEventDriven));
EventHandlingScope.cs (11)
22
[SRDescription(
SR
.EventHandlingScopeActivityDescription)]
215
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(EventHandlingScopeActivity).FullName), "obj");
230
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_MoreThanTwoActivitiesInEventHandlingScope, compositeActivity.QualifiedName), ErrorNumbers.Error_MoreThanTwoActivitiesInEventHandlingScope));
234
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_MoreThanOneEventHandlersDecl, compositeActivity.GetType().Name), ErrorNumbers.Error_ScopeMoreThanOneEventHandlersDecl));
250
return new ValidationError(
SR
.GetString(
SR
.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
254
return 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)]
189
throw new InvalidOperationException(
SR
.GetString(
SR
.InterfaceTypeMissing, this.Name));
193
throw new InvalidOperationException(
SR
.GetString(
SR
.EventNameMissing, this.Name));
203
throw new InvalidOperationException(
SR
.GetString(
SR
.MethodInfoMissing, this.EventName, this.InterfaceType.Name));
451
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
493
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(HandleExternalEventActivity).FullName), "obj");
518
throw new Exception(
SR
.GetString(
SR
.Error_InterfaceTypeNeedsExternalDataExchangeAttribute, "InterfaceType"));
532
throw new Exception(
SR
.GetString(
SR
.Error_InterfaceTypeNotInterface, "InterfaceType"));
541
return
SR
.GetString(
SR
.ShowingExternalDataExchangeService);
Executors\InboundActivityHelper.cs (4)
49
throw new ArgumentException(
SR
.GetString(
SR
.Error_InvalidEventMessage, activity.QualifiedName));
62
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_InvalidLocalServiceMessage));
Executors\InvokeBase.cs (2)
103
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CallExternalMethodArgsSerializationException, name), e);
Executors\WorkflowWebService.cs (6)
96
methodMessage.SendException(new ApplicationException(
SR
.GetString(System.Globalization.CultureInfo.CurrentCulture,
SR
.Error_WorkflowCompleted)));
123
throw new ApplicationException(
SR
.GetString(System.Globalization.CultureInfo.CurrentCulture,
SR
.Error_WorkflowTerminated), response.Exception);
158
throw 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)]
162
throw new InvalidOperationException(
SR
.GetString(
SR
.InterfaceTypeMissing, this.Name));
166
throw new InvalidOperationException(
SR
.GetString(
SR
.MethodNameMissing, this.Name));
172
throw new InvalidOperationException(
SR
.GetString(
SR
.MethodInfoMissing, this.MethodName, this.InterfaceType.Name));
191
SR
.GetString(
SR
.Error_MissingInterfaceType), "executionContext");
198
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ServiceNotFound, this.InterfaceType));
256
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
292
throw 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)]
136
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CantInvokeSelf));
143
throw new Exception(
SR
.GetString(
SR
.Error_TypeIsNotRootActivity, "TargetWorkflow"));
152
return
SR
.GetString(
SR
.FilterDescription_InvokeWorkflow);
174
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(IStartWorkflow).FullName));
178
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_FailedToStartTheWorkflow));
197
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(InvokeWorkflowActivity).FullName), "obj");
201
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_TypePropertyInvalid, "TargetWorkflow"), ErrorNumbers.Error_PropertyNotSet);
209
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
221
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_TypeIsNotRootActivity, "TargetWorkflow"), ErrorNumbers.Error_TypeIsNotRootActivity);
239
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_GetCalleeWorkflow, invokeWorkflow.TargetWorkflow), ErrorNumbers.Error_GetCalleeWorkflow);
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);
287
ValidationError 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)]
313
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
387
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
431
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(InvokeWebServiceActivity).FullName), "obj");
435
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_TypePropertyInvalid, "ProxyClass"), ErrorNumbers.Error_PropertyNotSet);
443
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
455
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_MethodNotExists, "MethodName", invokeWebService.MethodName), ErrorNumbers.Error_MethodNotExists);
507
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
Listen.cs (10)
26
[SRDescription(
SR
.ListenActivityDescription)]
31
[SRCategory(
SR
.Standard)]
232
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
260
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
297
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(ListenActivity).FullName), "obj");
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 (10)
35
throw new ArgumentException(
SR
.GetString(
SR
.Error_EventNameMissing));
48
throw new ArgumentException(
SR
.GetString(
SR
.Error_EventNameMissing));
307
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ExternalDataExchangeException, interfaceType.AssemblyQualifiedName));
313
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationParameterException, interfaceType.AssemblyQualifiedName));
340
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationParameterException, interfaceType.AssemblyQualifiedName, paramAttribute.Name, methodName));
LocalService\CorrelationService.cs (14)
157
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationNotInitialized, reference.Name, activity.QualifiedName));
173
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationTokenMissing, activity.Name));
177
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationTokenMissing, activity.Name));
188
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationViolationException, memberName, activity.QualifiedName));
191
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationViolationException, memberName, activity.QualifiedName));
241
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationViolationException, memberName, activity.QualifiedName));
245
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CorrelationViolationException, memberName, activity.QualifiedName));
LocalService\ExternalDataExchangeService.cs (10)
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 (6)
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)));
LocalService\WorkflowMessageEventHandler.cs (2)
148
throw 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)]
152
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
202
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(ParallelActivity).FullName), "obj");
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 (5)
24
[SRDescription(
SR
.PolicyActivityDescription)]
28
[SRCategory(
SR
.Standard)]
56
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MustHaveParent));
82
[SRDescription(
SR
.RuleSetDescription)]
Role\ADRoleFactory.cs (2)
95
throw new ArgumentException(
SR
.GetString(
SR
.Error_NoMatchingActiveDirectoryEntry));
Role\RoleExceptions.cs (2)
19
: base(
SR
.GetString(
SR
.WorkflowAuthorizationException, activityName, principalName))
Role\WebWorkflowRole.cs (2)
91
throw new ProviderException(
SR
.GetString(
SR
.Error_RoleProviderNotAvailableOrEnabled, this.RoleProvider));
Rules\DeclarativeConditionsCollection.cs (8)
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 (9)
52
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CanNotChangeAtRuntime));
68
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CanNotChangeAtRuntime));
214
[SRDisplayName(
SR
.RuleConditionDisplayName)]
240
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MissingConditionName, activity.Name));
259
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MissingRuleConditions));
Rules\Design\LogicalExpressionTypeConverter.cs (2)
426
return
SR
.GetString(
SR
.RuleSetDefinitionDescription);
Rules\Rule.cs (12)
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 (8)
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 (8)
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));
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)]
116
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
SetState.cs (10)
21
[SRDescription(
SR
.SetStateActivityDescription)]
26
[SRCategory(
SR
.Standard)]
48
[SRDescription(
SR
.TargetStateDescription)]
85
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(StateActivity).FullName), "obj");
93
SR
.GetString(
SR
.Error_PropertyNotSet, SetStateActivity.TargetStateNamePropertyName),
110
validationErrors.Add(new ValidationError(
SR
.GetError_SetStateMustPointToAState(), ErrorNumbers.Error_SetStateMustPointToAState, false, SetStateActivity.TargetStateNamePropertyName));
116
validationErrors.Add(new ValidationError(
SR
.GetError_SetStateMustPointToALeafNodeState(), ErrorNumbers.Error_SetStateMustPointToALeafNodeState, false, SetStateActivity.TargetStateNamePropertyName));
143
validationErrors.Add(new ValidationError(
SR
.GetError_SetStateOnlyWorksOnStateMachineWorkflow(), ErrorNumbers.Error_SetStateOnlyWorksOnStateMachineWorkflow));
SR.cs (9)
16
DescriptionValue =
SR
.GetString(description);
54
return
SR
.GetString(value);
64
DisplayNameValue =
SR
.GetString(name);
82
static
SR
loader = null;
90
private static
SR
GetLoader()
104
return GetString(
SR
.Culture, name, args);
108
SR
sys = GetLoader();
125
return GetString(
SR
.Culture, name);
130
SR
sys = GetLoader();
State.cs (14)
26
[SRDescription(
SR
.StateActivityDescription)]
31
[SRCategory(
SR
.Standard)]
72
throw new ArgumentException(
SR
.GetString(
SR
.Error_StateChildNotFound), "childActivity");
103
throw new ArgumentException(
SR
.GetString(
SR
.Error_StateChildNotFound), "childActivityName");
116
throw new InvalidOperationException(
SR
.GetError_StateActivityMustBeContainedInAStateMachine());
120
throw new InvalidOperationException(
SR
.GetError_CannotExecuteStateMachineWithoutInitialState());
359
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
372
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
420
throw new InvalidOperationException(
SR
.GetInvalidActivityStatus(context.Activity));
427
throw new InvalidOperationException(
SR
.GetError_InvalidLeafStateChild());
429
throw new InvalidOperationException(
SR
.GetError_InvalidCompositeStateChild());
474
throw new InvalidOperationException(
SR
.GetInvalidSetStateInStateInitialization());
StateFinalizationActivity.cs (7)
21
[SRDescription(
SR
.StateFinalizationActivityDescription)]
26
[SRCategory(
SR
.Standard)]
50
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(StateFinalizationActivity).FullName), "obj");
55
validationErrors.Add(new ValidationError(
SR
.GetError_StateFinalizationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState));
68
SR
.GetError_MultipleStateFinalizationActivities(), ErrorNumbers.Error_MultipleStateFinalizationActivities));
75
validationErrors.Add(new ValidationError(
SR
.GetError_EventActivityNotValidInStateFinalization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler));
StateInitialization.cs (8)
21
[SRDescription(
SR
.StateInitializationActivityDescription)]
26
[SRCategory(
SR
.Standard)]
50
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(StateInitializationActivity).FullName), "obj");
55
validationErrors.Add(new ValidationError(
SR
.GetError_StateInitializationParentNotState(), ErrorNumbers.Error_StateHandlerParentNotState));
68
SR
.GetError_MultipleStateInitializationActivities(), ErrorNumbers.Error_MultipleStateInitializationActivities));
77
validationErrors.Add(new ValidationError(
SR
.GetError_EventActivityNotValidInStateInitialization(), ErrorNumbers.Error_EventActivityNotValidInStateHandler));
107
SR
.GetError_InvalidTargetStateInStateInitialization(), ErrorNumbers.Error_InvalidTargetStateInStateInitialization));
StateMachineExecutionState.cs (3)
196
throw new InvalidOperationException(
SR
.GetInvalidStateMachineAction(action.StateName));
232
throw new InvalidOperationException(
SR
.GetUnableToTransitionToState(targetStateName));
253
throw new InvalidOperationException(
SR
.GetInvalidStateTransitionPath());
StateMachineSubscription.cs (2)
50
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
230
throw new InvalidOperationException(
SR
.GetStateMachineWorkflowMustHaveACurrentState());
StateMachineSubscriptionManager.cs (1)
119
throw 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)
48
throw new ArgumentException(
SR
.GetStateMachineWorkflowRequired(), "instanceId");
268
throw new InvalidOperationException(
SR
.GetSqlTrackingServiceRequired());
306
throw new InvalidOperationException(
SR
.GetInvalidUserDataInStateChangeTrackingRecord());
310
throw new InvalidOperationException(
SR
.GetInvalidUserDataInStateChangeTrackingRecord());
StateValidator.cs (22)
38
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(StateActivity).FullName), "obj");
45
validationErrors.Add(new ValidationError(
SR
.GetError_StateMachineWorkflowMustBeARootActivity(), ErrorNumbers.Error_StateMachineWorkflowMustBeARootActivity));
55
validationErrors.Add(new ValidationError(
SR
.GetError_InvalidStateActivityParent(), ErrorNumbers.Error_InvalidStateActivityParent));
88
validationErrors.Add(new ValidationError(
SR
.GetError_BlackBoxCustomStateNotSupported(), ErrorNumbers.Error_BlackBoxCustomStateNotSupported));
103
return new ValidationError(
SR
.GetString(
SR
.Error_DynamicActivity2, activity.QualifiedName, activity.ExecutionStatus, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
118
SR
.GetError_CantRemoveState(removedState.QualifiedName),
128
SR
.GetError_CantRemoveEventDrivenFromExecutingState(removedEventDriven.QualifiedName, activity.QualifiedName),
193
SR
.GetError_InvalidLeafStateChild(),
220
SR
.GetError_InvalidCompositeStateChild(),
234
SR
.GetString(
SR
.Error_PropertyNotSet, StateMachineWorkflowActivity.InitialStateNamePropertyName),
247
SR
.GetError_InitialStateMustPointToAState(),
257
SR
.GetError_InitialStateMustPointToALeafNodeState(),
268
SR
.GetError_InitialStateMustBeDifferentThanCompletedState(),
288
SR
.GetError_CompletedStateMustPointToAState(),
299
SR
.GetString(
SR
.Error_CompletedStateCannotContainActivities),
307
SR
.GetError_CompletedStateMustPointToALeafNodeState(),
360
SR
.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)]
92
throw 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)]
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));
489
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
650
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ReplicatorInvalidExecutionType));
773
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
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));
1243
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(ReplicatorActivity).FullName), "obj");
1246
validationErrors.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)]
127
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MustHaveParent));
139
throw new InvalidOperationException(
SR
.GetString(CultureInfo.CurrentCulture,
SR
.Error_PropertyNotSet, FaultProperty.Name));
177
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(WebServiceFaultActivity).FullName), "obj");
193
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
202
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_DuplicateWebServiceFaultFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound));
204
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_DuplicateWebServiceResponseFound, activity.Name, webServiceFault.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound));
222
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotValid, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid));
231
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotFound, webServiceFault.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound));
242
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
249
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
257
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
266
validationErrors.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)]
177
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
212
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MustHaveParent));
448
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
482
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(WebServiceInputActivity).FullName), "obj");
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);
520
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
528
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_TypePropertyInvalid, "InterfaceType"), ErrorNumbers.Error_PropertyNotSet);
534
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_InterfaceTypeNotInterface, "InterfaceType"), ErrorNumbers.Error_InterfaceTypeNotInterface);
549
ValidationError error = new ValidationError(
SR
.GetString(
SR
.Error_MethodNotExists, "MethodName", webServiceReceive.MethodName), ErrorNumbers.Error_MethodNotExists);
587
ValidationError validationError = new ValidationError(
SR
.GetString(
SR
.Error_TypeNotPublicSerializable, paramName, paramType.FullName), ErrorNumbers.Error_TypeNotPublicSerializable);
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));
657
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
662
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_ContextStackItemMissing, typeof(CodeNamespaceCollection).Name));
889
throw new Exception(
SR
.GetString(
SR
.Error_InterfaceTypeNotInterface, "InterfaceType"));
897
return
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)]
118
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_MustHaveParent));
149
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_CannotResolveWebServiceInput, this.QualifiedName, this.InputActivityName));
179
throw new InvalidOperationException(
SR
.GetString(
SR
.Error_WebServiceInputNotProcessed, webservicereceive.QualifiedName));
254
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
302
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(WebServiceOutputActivity).FullName), "obj");
317
throw new InvalidOperationException(
SR
.GetString(
SR
.General_MissingService, typeof(ITypeProvider).FullName));
326
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_DuplicateWebServiceResponseFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceResponseFound));
328
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_DuplicateWebServiceFaultFound, activity.QualifiedName, webServiceResponse.InputActivityName), ErrorNumbers.Error_DuplicateWebServiceFaultFound));
345
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotValid, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotValid));
354
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotFound, webServiceResponse.InputActivityName), ErrorNumbers.Error_WebServiceReceiveNotFound));
365
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
371
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
378
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceReceiveNotConfigured, webServiceReceive.Name), ErrorNumbers.Error_WebServiceReceiveNotConfigured));
398
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WebServiceResponseNotNeeded), ErrorNumbers.Error_WebServiceResponseNotNeeded));
422
ValidationError validationError = new ValidationError(
SR
.GetString(
SR
.Error_TypeNotPublicSerializable, paramName, paramType.FullName), ErrorNumbers.Error_TypeNotPublicSerializable);
450
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Warning_AdditionalBindingsFound), ErrorNumbers.Warning_AdditionalBindingsFound, true));
693
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_ParameterTypeNotFound, methodInfo.Name, paramInfo.Name), ErrorNumbers.Error_ParameterTypeNotFound));
699
validationErrors.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)]
148
throw new ArgumentException(
SR
.Error_SenderMustBeActivityExecutionContext, "sender");
169
throw new ArgumentException(
SR
.GetString(
SR
.Error_UnexpectedArgumentType, typeof(WhileActivity).FullName), "obj");
171
validationErrors.Add(new ValidationError(
SR
.GetString(
SR
.Error_WhileShouldHaveOneChild), ErrorNumbers.Error_WhileShouldHaveOneChild));
187
return new ValidationError(
SR
.GetString(
SR
.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.ExecutionStatus), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);