248 references to GetString
System.Workflow.ComponentModel (248)
AuthoringOM\Activity.cs (20)
50throw new ArgumentException(SR.GetString(SR.Error_WrongParamForActivityResolveEventArgs)); 338throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 370throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 395throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 404throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 414throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1042throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1066throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1108throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1502throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCancelActivityState)); //DCR01 1515throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCompensateActivityState)); //DCR01 1535throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCloseActivityState)); //DCR01 1962throw new ArgumentException(SR.GetString(SR.GetDynamicActivities_InvalidActivity), "activity"); 2060throw new InvalidOperationException(SR.GetString(SR.Error_InvalidActivityForWorkflowChanges)); 2063throw new InvalidOperationException(SR.GetString(SR.Error_MissingRootActivity)); 2066throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 2327throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 2336throw new InvalidOperationException(SR.GetString(SR.Error_CannotAddRemoveChildActivities)); 2339throw new InvalidOperationException(SR.GetString(SR.Error_CannotAddRemoveChildActivities)); 2348throw new InvalidOperationException(SR.GetString(SR.Error_ActivityCircularReference));
AuthoringOM\ActivityExecutionContext.cs (11)
200throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 203throw new InvalidOperationException(SR.GetString(SR.Error_InvalidInitializingState)); 227throw new InvalidOperationException(SR.GetString(SR.Error_InvalidStateToExecuteChild)); 230throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 233throw new InvalidOperationException(SR.GetString(SR.Error_InvalidExecutionState)); 261throw new InvalidOperationException(SR.GetString(SR.Error_InvalidStateToExecuteChild)); 264throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 267throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCancelingState)); 287throw new ArgumentException(SR.GetString(SR.AEC_InvalidNestedActivity), "activity"); 290throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCompensatingState)); 356throw new InvalidOperationException(SR.GetString(SR.Error_InvalidClosingState));
AuthoringOM\ActivityExecutionContextCollection.cs (3)
65throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 158throw new ArgumentException("childContext", SR.GetString(SR.Error_MissingActivityProperty)); 161throw new ArgumentException("childContext", SR.GetString(SR.Error_MissingContextActivityProperty));
AuthoringOM\ActivityInterfaces.cs (1)
187: base(SR.GetString(SR.Error_WorkflowTerminated))
AuthoringOM\Behaviors\CancellationHandler.cs (2)
32throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 78validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\Compensate.cs (2)
54throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 224validationErrors.Add(new ValidationError(SR.GetString(SR.Error_CompensateBadNesting), ErrorNumbers.Error_CompensateBadNesting));
AuthoringOM\Behaviors\Compensation.cs (3)
33throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 76validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParentDoesNotSupportCompensation), ErrorNumbers.Error_FaultHandlerActivityParentNotFaultHandlersActivity)); 83validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\ExceptionHandler.cs (4)
75throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 121return SR.GetString(SR.FilterDescription_FaultHandlerActivity); 169validationErrors.Add(new ValidationError(SR.GetString(SR.Error_FaultHandlerActivityParentNotFaultHandlersActivity), ErrorNumbers.Error_FaultHandlerActivityParentNotFaultHandlersActivity)); 204validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\ExceptionHandlers.cs (4)
42throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 172validationErrors.Add(new ValidationError(SR.GetString(SR.Error_FaultHandlersActivityDeclNotAllFaultHandlerActivityDecl), ErrorNumbers.Error_FaultHandlersActivityDeclNotAllFaultHandlerActivityDecl)); 192validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ScopeDuplicateFaultHandlerActivityFor), new object[] { Helpers.GetEnclosingActivity(exceptionHandlers).GetType().Name, catchType.FullName }), ErrorNumbers.Error_ScopeDuplicateFaultHandlerActivityFor)); 208validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ModelingConstructsCanNotContainModelingConstructs), ErrorNumbers.Error_ModelingConstructsCanNotContainModelingConstructs));
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
107throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
AuthoringOM\Bind.cs (12)
258throw new ArgumentException(SR.GetString(SR.Error_EmptyPathValue), "path"); 264return new ValidationError(SR.GetString(SR.Error_ConfigFileMissingOrInvalid), ErrorNumbers.Error_ConfigFileMissingOrInvalid); 316throw new ArgumentException(SR.GetString(SR.Error_EmptyPathValue), "path"); 371throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 431throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 475throw new Exception(SR.GetString(SR.Error_NoTargetTypeForMethod)); 480throw new Exception(SR.GetString(SR.Error_MethodDataSourceIsReadOnly)); 596throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 614throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 819throw new InvalidOperationException(SR.GetString(SR.Error_MemberNotFound)); 1029throw new ArgumentException(SR.GetString(SR.Error_EmptyPathValue), "path"); 1145throw new InvalidOperationException(SR.GetString(SR.Bind_ActivityDataSourceRecursionDetected));
AuthoringOM\Compiler\CodeGeneration\CodeGeneratorAttribute.cs (1)
15throw new ArgumentException(SR.GetString(SR.Error_NotCodeGeneratorType), "codeGeneratorType");
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (2)
103throw new InvalidOperationException(SR.GetString(SR.CannotCreateAttribute)); 137throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentIndex), "argumentIndex");
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (3)
53throw new InvalidOperationException(SR.GetString(SR.NamespaceAndDeclaringTypeCannotBeNull)); 85throw new ArgumentException(SR.GetString(SR.NotElementType), "elementTypeFullName"); 100throw new ArgumentException(SR.GetString(SR.NotElementType), "elementTypeFullName");
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
171argumentValues[index] = new ArgumentException(SR.GetString(SR.Error_TypeSystemAttributeArgument));
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (6)
64throw new ArgumentException(SR.GetString(SR.Error_InvalidRuntimeType), "runtimeType"); 85throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "runtimeType"); 91throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "runtimeType"); 98throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "typeArgs"); 566throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "typeArgs"); 572throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "typeArgs");
AuthoringOM\Compiler\Validation\ActivityValidator.cs (2)
21throw new ArgumentException("manager", SR.GetString(SR.Error_MissingContextProperty)); 34ValidationError error = new ValidationError(SR.GetString(SR.Error_RootIsNotEnabled), ErrorNumbers.Error_RootIsNotEnabled);
AuthoringOM\Compiler\Validation\BindValidator.cs (5)
477ValidationError error = new ValidationError(SR.GetString(SR.Error_HandlerReadOnly), ErrorNumbers.Error_HandlerReadOnly); 599error = new ValidationError(SR.GetString(SR.Error_IDNotSetForActivitySource), ErrorNumbers.Error_IDNotSetForActivitySource); 618error = new ValidationError(SR.GetString(SR.Error_PathNotSetForActivitySource), ErrorNumbers.Error_PathNotSetForActivitySource); 811error = new ValidationError(SR.GetString(SR.Error_PathNotSetForActivitySource), ErrorNumbers.Error_PathNotSetForActivitySource); 929error = new ValidationError(SR.GetString(SR.Bind_ActivityDataSourceRecursionDetected), ErrorNumbers.Bind_ActivityDataSourceRecursionDetected);
AuthoringOM\Compiler\Validation\TransactionContextValidator.cs (3)
46validationErrors.Add(new ValidationError(SR.GetString(SR.Error_AtomicScopeNestedInNonLRT), ErrorNumbers.Error_AtomicScopeNestedInNonLRT)); 59validationErrors.Add(new ValidationError(SR.GetString(SR.Error_LRTScopeNestedInNonLRT), ErrorNumbers.Error_LRTScopeNestedInNonLRT)); 108return new ValidationError(SR.GetString(SR.Error_AtomicScopeNestedInNonLRT), ErrorNumbers.Error_AtomicScopeNestedInNonLRT);
AuthoringOM\Compiler\Validation\WorkflowValidationFailedException.cs (2)
23throw new SerializationException(SR.GetString(SR.Error_SerializationInsufficientState)); 27: base(SR.GetString(SR.Error_WorkflowLoadValidationFailed))
AuthoringOM\Compiler\XomlCompiler.cs (5)
632Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, SR.GetString(SR.NullConditionExpression)))); 1019throw new Exception(SR.GetString(SR.Error_MissingCompilationContext)); 1082results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_RootActivityTypeInvalid))); 1089results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CannotCompile_No_XClass))); 1097ValidationError error = new ValidationError(SR.GetString(SR.Error_CodeWithinNotAllowed), ErrorNumbers.Error_CodeWithinNotAllowed);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (7)
52new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_LibraryPath.ToString(CultureInfo.InvariantCulture), string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.LibraryPathIsInvalid), libraryPath)); 65ValidationError error = new ValidationError(SR.GetString(SR.Error_ConfigFileMissingOrInvalid), ErrorNumbers.Error_ConfigFileMissingOrInvalid); 207throw new Exception(SR.GetString(SR.Error_MissingCompilationContext)); 615identifier = SR.GetString(SR.EmptyValue); 823throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataDispenser")); 833throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataImport")); 869throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataAssemblyImport"));
AuthoringOM\DependencyObject.cs (19)
115throw new ArgumentException(SR.GetString(SR.Error_DPReadOnly), "dependencyProperty"); 118throw new ArgumentException(SR.GetString(SR.Error_MissingOwnerTypeProperty), "dependencyProperty"); 124throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 127throw new ArgumentException(SR.GetString(SR.Error_DPMetaPropertyBinding), "dependencyProperty"); 160throw new ArgumentException(SR.GetString(SR.Error_DPGetValueHandler), "dependencyProperty"); 249throw new ArgumentException(SR.GetString(SR.Error_DPReadOnly), "dependencyProperty"); 251throw new ArgumentException(SR.GetString(SR.Error_DPSetValueBind), "value"); 253throw new ArgumentException(SR.GetString(SR.Error_DPSetValueHandler), "dependencyProperty"); 261throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 311throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 332throw new ArgumentException(SR.GetString(SR.Error_DPSetValueBind), "value"); 335throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerMetaProperty), "dependencyEvent"); 338throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent"); 341throw new ArgumentException(SR.GetString(SR.Error_DPPropertyTypeMissing), "dependencyEvent"); 344throw new ArgumentException(SR.GetString(SR.Error_MissingOwnerTypeProperty), "dependencyEvent"); 378throw new ArgumentException(SR.GetString(SR.Error_DPRemoveHandlerBind), "value"); 381throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerMetaProperty), "dependencyEvent"); 384throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent"); 563throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent");
AuthoringOM\DependencyProperty.cs (4)
109throw new ArgumentException(SR.GetString(SR.Error_ValidatorTypeIsInvalid), "validatorType"); 170throw new ArgumentException(SR.GetString(SR.Error_EmptyArgument), "name"); 183throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerMetaProperty), "defaultMetadata"); 232throw new ArgumentException(SR.GetString(SR.Error_EmptyArgument), "name");
AuthoringOM\Design\ActivityDesigner.cs (1)
2557CompositeActivityDesigner.InsertActivities(compositeActivityDesigner, hitInfo, new List<Activity>(activities).AsReadOnly(), SR.GetString(SR.PastingActivities));
AuthoringOM\Design\CommandSet.cs (4)
641trans = host.CreateTransaction(SR.GetString(SR.ChangingEnabled)); 853description = SR.GetString(SR.CutActivity); 932throw new Exception(SR.GetString(SR.Error_NoPasteSupport)); 943CompositeActivityDesigner.InsertActivities(compositeDesigner, hitInfo, topLevelActivities.AsReadOnly(), SR.GetString(SR.PastingActivities));
AuthoringOM\Design\ComponentSerializationService.cs (5)
50if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 66if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 74if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 82if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 96if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore));
AuthoringOM\Design\CompositeActivityDesigner.cs (7)
454throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry)); 753throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry)); 817throw new Exception(SR.GetString(SR.Error_DragDropInvalid)); 830throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry)); 897throw new Exception(SR.GetString(SR.Error_DragDropInvalid)); 1016throw new Exception(SR.GetString(SR.Error_DragDropInvalid)); 1534DesignerTransaction trans = designerHost.CreateTransaction(SR.GetString(SR.MovingActivities));
AuthoringOM\Design\Connector.cs (3)
258throw new ArgumentException(SR.GetString(SR.Error_InvalidConnectorSource), "value"); 282throw new ArgumentException(SR.GetString(SR.Error_InvalidConnectorSource), "value"); 2582throw new InvalidOperationException(SR.GetString(SR.Error_InvalidConnectorSegment));
AuthoringOM\Design\CustomActivityDesigner.cs (5)
322if (DialogResult.OK != uiService.ShowMessage(SR.GetString(SR.NoChildActivities_Message), 323SR.GetString(SR.NoChildActivities_Caption), MessageBoxButtons.OKCancel)) 383throw new InvalidOperationException(SR.GetString(SR.Error_CantUseCurrentProjectTypeAsBase)); 386throw new InvalidOperationException(SR.GetString(SR.Error_BaseTypeMustBeActivity)); 711return SR.GetString(SR.CustomActivityBaseClassTypeFilterProviderDesc);
AuthoringOM\Design\DesignerHelpers.cs (5)
426throw new ArgumentException(SR.GetString(SR.Error_InvalidShadowRectangle), "shadowRectangle"); 429throw new ArgumentException(SR.GetString(SR.Error_InvalidShadowDepth), "shadowDepth"); 432throw new ArgumentException(SR.GetString(SR.Error_InvalidLightSource), "lightSourceIntensity"); 750throw new ArgumentException(SR.GetString(SR.Error_EmptyRectangleValue), "rectangle"); 753throw new ArgumentException(SR.GetString(SR.Error_InvalidRadiusValue), "radius");
AuthoringOM\Design\DesignerInterfaces.cs (3)
708throw new ArgumentException(SR.GetString(SR.Error_InvalidConnectorValue), "connector"); 782throw new ArgumentException(SR.GetString(SR.Error_NullOrEmptyValue), "text"); 1008throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDesignerVerbValue));
AuthoringOM\Design\DesignerWidgets.cs (3)
1576throw new InvalidOperationException(SR.GetString(SR.Error_ChangingDock)); 2166SizeF textSize = graphics.MeasureString(SR.GetString(SR.ToolTipString), this.parentControl.Font); 2292throw new NullReferenceException(SR.GetString(SR.Error_CreatingToolTip));
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (4)
265DesignerHelpers.ShowError(this.serviceProvider, SR.GetString(SR.Error_BindDialogCanNotBindToItself)); 292message = SR.GetString(SR.Error_BindDialogBindNotValid) + message; 335errorMsg = SR.GetString(SR.Failure_FieldAlreadyExist); 342errorMsg = SR.GetString(SR.Failure_FieldAlreadyExist);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
771throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "treeNodes");
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (4)
396currentProjectNode = this.artifactTreeView.Nodes.Add(SR.CurrentProject, SR.GetString(SR.CurrentProject), 2, 2); 399TreeNode assembliesNode = this.artifactTreeView.Nodes.Add(SR.ReferencedAssemblies, SR.GetString(SR.ReferencedAssemblies), 2, 2); 1363throw new Exception(SR.GetString(SR.Error_ArgumentTypeNotMatchParameter)); 1499return SR.GetString(SR.GenericParameters);
AuthoringOM\Design\FreeFormDesigner.cs (3)
423throw new ArgumentException("source", SR.GetString(SR.Error_AssociatedDesignerMissing)); 429throw new ArgumentException("target", SR.GetString(SR.Error_AssociatedDesignerMissing)); 883CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, ((CompositeActivity)Activity).Activities.Count), activitiesToInsert.AsReadOnly(), SR.GetString(SR.DragDropActivities));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
473string transactionDescription = SR.GetString(SR.DragDropActivities);
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (1)
627throw new ArgumentException(SR.GetString(SR.Error_InvalidStateImages), "value");
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
283CompositeActivityDesigner.RemoveActivities((IServiceProvider)this.ParentView, topLevelActivities.AsReadOnly(), SR.GetString(SR.DeletingActivities));
AuthoringOM\Design\PropertyDescriptors.cs (3)
73return SR.GetString(SR.Activity); 81return SR.GetString(SR.RootActivityNameDesc); 742throw new InvalidOperationException(SR.GetString(SR.Error_ActivityIdentifierCanNotBeEmpty));
AuthoringOM\Design\SecondaryViewProvider.cs (1)
191CompositeActivityDesigner.InsertActivities(this.parentDesigner, new HitTestInfo(this.parentDesigner, HitTestLocations.Designer), new List<Activity>(new Activity[] { activity }).AsReadOnly(), SR.GetString(SR.AddingImplicitActivity));
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
322throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry)); 523CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, CurrentDropTarget), e.Activities, SR.GetString(SR.DragDropActivities));
AuthoringOM\Design\TypeConverters.cs (2)
65if (((string)value).Length == 0 || ((string)value) == SR.GetString(SR.NullConditionExpression)) 85return SR.GetString(SR.NullConditionExpression);
AuthoringOM\Design\UITypeEditors.cs (1)
168DesignerHelpers.ShowError(this.serviceProvider, SR.GetString(SR.Error_MultipleSelectNotSupportedForBindAndPromote));
AuthoringOM\Design\WorkflowView.cs (2)
789throw new ArgumentException(SR.GetString(SR.Error_EmptyToolTipRectangle)); 1452throw new InvalidOperationException(SR.GetString(SR.Error_InsertingChildControls));
AuthoringOM\Design\XomlDesignerLoader.cs (6)
272throw new ArgumentException(SR.GetString(SR.Error_ParameterCannotBeEmpty), "manifestResourceName"); 319errors.Add(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_LayoutDeserialization), e)); 330errors.Add(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_LayoutSerializationPersistenceSupport))); 335errors.Add(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_LayoutSerializationRootDesignerNotFound))); 364errors.Add(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_LayoutSerialization), e)); 375errors.Add(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_LayoutSerializationPersistenceSupport)));
AuthoringOM\Fault.cs (2)
49throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 132return SR.GetString(SR.FilterDescription_FaultHandlerActivity);
AuthoringOM\ParameterBinding.cs (4)
83throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 93throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 107throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 117throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
AuthoringOM\PropertyMetadata.cs (4)
131throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata)); 145throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata)); 183throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata)); 197throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata));
AuthoringOM\ScheduleChanges.cs (15)
47throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid2), "rootActivity"); 50throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 117throw new WorkflowValidationFailedException(SR.GetString(SR.Error_CompilerValidationFailed), errors); 155throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid), "activity"); 158throw new InvalidOperationException(SR.GetString(SR.Error_MissingRootActivity)); 161throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 164throw new InvalidOperationException(SR.GetString(SR.Error_TransactionAlreadyApplied)); 167throw new ArgumentException(SR.GetString(SR.Error_WorkflowDefinitionModified), "activity"); 174throw new InvalidOperationException(SR.GetString(SR.Error_InsideAtomicScope)); 175bool suspended = workflowCoreRuntime.SuspendInstance(SR.GetString(SR.SuspendReason_WorkflowChange)); 220throw new WorkflowValidationFailedException(SR.GetString(SR.Error_RuntimeValidationFailed), validationErrors); 533throw new NullReferenceException(SR.GetString(SR.Error_InvalidRootForWorkflowChanges)); 739throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid), "rootActivity"); 787throw new InvalidOperationException(SR.GetString(SR.Error_ApplyDynamicChangeFailed)); 862throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid), "rootActivity");
AuthoringOM\Serializer\ActivityCollectionMarkupSerializer.cs (1)
53throw new InvalidOperationException(SR.GetString(SR.Error_CanNotAddActivityInBlackBoxActivity));
AuthoringOM\Serializer\ActivitySurrogate.cs (3)
22throw new InvalidOperationException(SR.GetString(SR.Error_ActivitySaveLoadNotCalled)); 164throw new InvalidOperationException(SR.GetString(SR.Error_ActivitySaveLoadNotCalled)); 229throw new NullReferenceException(SR.GetString(SR.Error_InvalidRootForWorkflowChanges));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
34throw new ArgumentException("manager", SR.GetString(SR.Error_MissingContextProperty));
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (4)
34throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 55throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 67throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 82throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject));
AuthoringOM\Serializer\DictionarySurrogate.cs (2)
18throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 22throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\GenericQueueSurrogate.cs (2)
19throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 23throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\ListSurrogate.cs (2)
19throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 23throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
77throw new WorkflowMarkupSerializationException(SR.GetString(SR.Error_WorkflowLoadDeserializationFailed));
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (5)
220serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_InvalidDataFound), reader)); 1571throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 2343throw new InvalidOperationException(SR.GetString(SR.Error_InternalSerializerError)); 2827throw new Exception(SR.GetString(SR.Error_MarkupExtensionMissingTerminatingCharacter)); 2835throw new Exception(SR.GetString(SR.Error_ExtraCharacterFoundAtEnd));
AuthoringOM\Serializer\XmlDocumentSurrogate.cs (1)
18throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\SR.cs (3)
15DescriptionValue = SR.GetString(description); 53return SR.GetString(value); 63DisplayNameValue = SR.GetString(name);
AuthoringOM\Suspend.cs (2)
48throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 95validationErrors.Add(new ValidationError(SR.GetString(SR.Error_SuspendInAtomicScope), ErrorNumbers.Error_SuspendInAtomicScope));
AuthoringOM\Terminate.cs (1)
44throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
Shared\BasePropertyDescriptor.cs (4)
330qualifier = SR.GetString(SR.Ref); 332qualifier = SR.GetString(SR.Out); 334qualifier = SR.GetString(SR.In); 377return SR.GetString(SR.Parameters);