605 references to SR2
System.WorkflowServices (605)
SR.cs (4)
37DescriptionValue = SR2.ResourceManager.GetString(description, SR2.Culture); 78return SR2.ResourceManager.GetString(value, SR2.Culture);
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (12)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WorkflowServiceHostFactoryConstructorStringNotProvided))); 35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ProcessNotExecutingUnderHostedContext))); 107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CannotResolveConstructorStringToWorkflowType, constructorString))); 127throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.BaseAddressesNotProvided))); 169throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.InvalidCompiledString, baseAddresses[0].AbsolutePath))); 174throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.InvalidCompiledString, baseAddresses[0].AbsolutePath)));
System\ServiceModel\Configuration\PersistenceProviderElement.cs (2)
78new InvalidOperationException(SR2.GetString(SR2.PersistenceProviderTypeNotFound)));
System\ServiceModel\Description\DescriptionCreator.cs (2)
48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoContract)));
System\ServiceModel\Description\DurableOperationAttribute.cs (4)
83SR2.GetString( 84SR2.ExistingIOperationInvokerRequired, 97SR2.GetString(SR2.OperationDescriptionNeedsDeclaringContract));
System\ServiceModel\Description\DurableServiceAttribute.cs (20)
69throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("serviceDescription", SR2.GetString(SR2.NoEndpoints)); 83SR2.GetString( 84SR2.NonNullPersistenceProviderRequired, 93SR2.GetString( 94SR2.NonNullPersistenceProviderRequired, 238SR2.GetString(SR2.InstanceContextModeMustBePerSession, serviceBehavior.InstanceContextMode))); 245SR2.GetString(SR2.ConcurrencyMultipleNotSupported))); 253SR2.GetString(SR2.ConcurrencyReentrantAndAbortNotSupported))); 285SR2.GetString( 286SR2.CanCreateInstanceMustBeTrue, 298SR2.GetString( 299SR2.CanCreateInstanceMustBeTwoWay, 334SR2.GetString( 335SR2.SaveStateInTransactionValidationFailed, 348SR2.GetString(SR2.SessionfulContractNotFound)));
System\ServiceModel\Description\PersistenceProviderBehavior.cs (2)
45new ArgumentOutOfRangeException(SR2.GetString(SR2.PersistenceOperationTimeoutOutOfRange)));
System\ServiceModel\Description\WorkflowOperationBehavior.cs (4)
65throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.DispatchOperationInInvalidState))); 72throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoWorkflowRuntimeBehavior)));
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (4)
131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WorkflowRuntimeStartedBeforeHostOpen))); 140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WrongSchedulerServiceRegistered)));
System\ServiceModel\Description\WorkflowServiceBehavior.cs (4)
221throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("description", SR2.GetString(SR2.NoBehaviors)); 225throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("description", SR2.GetString(SR2.NoEndpoints));
System\ServiceModel\Dispatcher\DurableDispatcherAddressingFault.cs (2)
20faultReason = new FaultReason(new FaultReasonText(SR2.GetString(SR2.CurrentOperationCannotCreateInstance), CultureInfo.CurrentCulture));
System\ServiceModel\Dispatcher\DurableErrorHandler.cs (1)
23throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.NoOperationContext));
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (8)
148SR2.GetString( 149SR2.RequiredInstanceContextExtensionNotFound, 247string traceText = SR2.GetString(SR2.DurableInstanceRefCountToInstanceContext, instanceId, referenceCount.Value); 304string traceText = SR2.GetString(SR2.DurableInstanceRefCountToInstanceContext, instanceId, referenceCount); 376string traceText = SR2.GetString(SR2.DurableInstanceRefCountToInstanceContext, instanceId, referenceCount);
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (2)
96SR2.GetString( 97SR2.RequiredInstanceContextExtensionNotFound,
System\ServiceModel\Dispatcher\DurableOperationContext.cs (8)
69SR2.GetString( 70SR2.OnlyCallableFromServiceOperation, 80SR2.GetString( 81SR2.OnlyCallableWhileInOperation, 91SR2.GetString( 92SR2.OnlyCallableFromServiceOperation, 103SR2.GetString( 104SR2.OnlyCallableFromDurableService,
System\ServiceModel\Dispatcher\DurableRuntimeValidator.cs (6)
54SR2.GetString(SR2.ConcurrencyMultipleNotSupported))); 61SR2.GetString(SR2.SaveStateInTransactionRequiresSingle))); 69SR2.GetString(SR2.ConcurrencyReentrantAndAbortNotSupported)));
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (14)
107SR2.GetString(SR2.AbortInstanceRequiresSingle))); 114SR2.GetString(SR2.CannotAbortWithSaveStateInTransaction))); 121SR2.GetString( 122SR2.DurableOperationMethodInvalid, 210string traceText = SR2.GetString(SR2.ServiceDurableInstanceSavedDetails, this.InstanceId, (this.lockingProvider != null) ? "True" : "False"); 234string traceText = SR2.GetString(SR2.ServiceDurableInstanceSavedDetails, this.InstanceId, (this.lockingProvider != null) ? "True" : "False"); 267SR2.GetString( 268SR2.DurableOperationMethodInvalid, 305string traceText = SR2.GetString(SR2.ServiceDurableInstanceLoadedDetails, this.InstanceId, (this.lockingProvider != null) ? "True" : "False");
System\ServiceModel\Dispatcher\ServiceDurableInstanceContextProvider.cs (2)
64string traceText = SR2.GetString(SR2.InstanceContextProviderCreatedNewInstance, "Service", instanceId);
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (4)
55SR2.GetString(SR2.InvokeCalledWithWrongType, typeof(DurableServiceAttribute).Name))); 100SR2.GetString(SR2.InvokeCalledWithWrongType, typeof(DurableServiceAttribute).Name)));
System\ServiceModel\Dispatcher\WorkflowInstanceContextProvider.cs (12)
62SR2.GetString( 63SR2.RequiredInstanceContextExtensionNotFound, 91SR2.GetString( 92SR2.RequiredInstanceContextExtensionNotFound, 119SR2.GetString( 120SR2.RequiredInstanceContextExtensionNotFound, 140SR2.GetString( 141SR2.RequiredInstanceContextExtensionNotFound, 180string traceText = SR2.GetString(SR2.InstanceContextProviderCreatedNewInstance, "Workflow", instanceId); 216new InvalidOperationException(SR2.GetString(SR2.WorkflowServiceUnloadedWithoutSendingResponse))),
System\ServiceModel\Dispatcher\WorkflowInstanceLifeTimeManagerExtension.cs (4)
193string traceText = SR2.GetString(SR2.AutoAbortingInactiveInstance, instanceId); 209string traceText = SR2.GetString(SR2.AutoAbortingInactiveInstance, instanceId);
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (2)
80string traceText = SR2.GetString(SR2.WorkflowOperationInvokerItemQueued, this.InstanceId, queueName);
System\ServiceModel\Dispatcher\WorkflowOperationErrorHandler.cs (2)
38: base(SR2.GetString(SR2.WorkflowOperationUnhandledException), innerException)
System\ServiceModel\Dispatcher\WorkflowOperationFault.cs (4)
24faultReason = new FaultReason(new FaultReasonText(SR2.GetString(SR2.OperationNotAvailable), CultureInfo.CurrentCulture)); 29faultReason = new FaultReason(new FaultReasonText(SR2.GetString(SR2.OperationNotImplemented), CultureInfo.CurrentCulture));
System\ServiceModel\Dispatcher\WorkflowRequestContext.cs (4)
88throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoOperationContext))); 167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.UnloadedBeforeResponse)));
System\ServiceModel\Persistence\InstanceLockException.cs (6)
17: this(SR2.GetString(SR2.CannotAcquireLockDefault), null) 32: this(SR2.GetString(SR2.CannotAcquireLockSpecific, id)) 50: this(SR2.GetString(SR2.CannotAcquireLockSpecific, id), innerException)
System\ServiceModel\Persistence\InstanceNotFoundException.cs (6)
17: this(SR2.GetString(SR2.InstanceNotFoundDefault), null) 32: this(SR2.GetString(SR2.InstanceNotFoundSpecific, id)) 50: this(SR2.GetString(SR2.InstanceNotFoundSpecific, id), innerException)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (50)
86SR2.GetString(SR2.ConnectionStringNameIncorrect, parameters[key])); 100SR2.GetString(SR2.UnknownSqlPersistenceConfigurationParameter, key, connectionStringNameParameter, serializeAsTextParameter, lockTimeoutParameter)); 107SR2.GetString(SR2.ConnectionStringNameParameterRequired, connectionStringNameParameter)); 149SR2.GetString(SR2.LockTimeoutOutOfRange))); 211throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("id", SR2.GetString(SR2.SqlPersistenceProviderRequiresNonEmptyGuid)); 286SR2.GetString(SR2.ErrorOpeningSqlPersistenceProvider), 599string traceText = SR2.GetString(SR2.SqlPrsistenceProviderOperationAndInstanceId, handler.OperationName, id.ToString()); 647SR2.GetString(SR2.PersistenceOperationError, handler.OperationName), 655string traceText = SR2.GetString(SR2.SqlPrsistenceProviderOperationAndInstanceId, handler.OperationName, id.ToString()); 707SR2.GetString(SR2.CommandTimeoutOutOfRange)); 747return new PersistenceException(SR2.GetString(SR2.InstanceAlreadyExists, id)); 749return new PersistenceException(SR2.GetString(SR2.InsertFailed, id)); 752new PersistenceException(SR2.GetString(SR2.UnknownStoredProcResult)); 830return new InstanceLockException(id, SR2.GetString(SR2.DidNotOwnLock, id, OperationName)); 834SR2.GetString(SR2.UnknownStoredProcResult)); 922new PersistenceException(SR2.GetString(SR2.UnknownStoredProcResult)); 930toReturn = new PersistenceException(SR2.GetString(SR2.SerializationFormatMismatch)); 1009SR2.GetString(SR2.ErrorOpeningSqlPersistenceProvider), 1099SR2.GetString(SR2.PersistenceOperationError, this.handler.OperationName), e)); 1152SR2.GetString(SR2.PersistenceOperationError, operationResult.handler.OperationName), e); 1396return new InstanceLockException(id, SR2.GetString(SR2.DidNotOwnLock, id, OperationName)); 1399new PersistenceException(SR2.GetString(SR2.UnknownStoredProcResult)); 1448return new InstanceNotFoundException(id, SR2.GetString(SR2.InstanceNotFoundForUpdate, id)); 1450return new InstanceLockException(id, SR2.GetString(SR2.DidNotOwnLock, id, OperationName)); 1453new PersistenceException(SR2.GetString(SR2.UnknownStoredProcResult));
System\ServiceModel\Security\SerializableAuthorizationContext.cs (2)
165throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.SerializedAuthorizationContextVersionUnsupported, versionNumber)));
System\ServiceModel\WorkflowServiceHost.cs (8)
113throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ServiceContractAttributeNotFound, new object[] { implementedContract.FullName }))); 117throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ReflectedContractsNotInitialized, new object[] { implementedContract.FullName }))); 127throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.MetadataEndpointCannotBeAdded, new object[] { implementedContract.FullName }))); 132throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ReflectedContractKeyNotFound, new object[] { implementedContract.FullName, this.workflowDefinitionContext.WorkflowName })));
System\Workflow\Activities\ChannelToken.cs (8)
166SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 179new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 212new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 266new InvalidOperationException(SR2.GetString(SR2.Error_FailedToRegisterChannel, endpoint.Name)));
System\Workflow\Activities\ContextToken.cs (22)
57SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 148SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 157new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 190new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 222new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 229new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 302SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 311new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 344new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 372new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 379new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing)));
System\Workflow\Activities\ContractMethodInfo.cs (6)
38SR2.GetString(SR2.Error_OperationNameNotSpecified)); 112new NotImplementedException(SR2.GetString(SR2.Error_RuntimeNotSupported))); 197new NotImplementedException(SR2.GetString(SR2.Error_RuntimeNotSupported)));
System\Workflow\Activities\ContractType.cs (10)
39"name", SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 161new NotImplementedException(SR2.GetString(SR2.Error_RuntimeNotSupported))); 213SR2.GetString(SR2.Error_CurrentTypeNotAnArray)); 304"name", SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 398new NotImplementedException(SR2.GetString(SR2.Error_RuntimeNotSupported)));
System\Workflow\Activities\Design\NamedObjectList.cs (1)
22generatedName = SR2.GetString(this.GeneratedNameFormatResource, ++this.suffixGenerator);
System\Workflow\Activities\Design\OperationPickerDialog.cs (12)
407string errorString = SR2.GetString(SR2.ContractNameCannotBeEmpty); 438string errorString = SR2.GetString(SR2.ContractNameMustBeUnique); 457string errorString = SR2.GetString(SR2.OperationNameCannotBeEmpty); 485string errorString = SR2.GetString(SR2.OperationNameMustBeUnique); 509label.Text = SR2.GetString(SR2.AddOperationsUsingImportAddButtons); 519get { return SR2.GetString(SR2.ChooseAServiceContractFromBelow); }
System\Workflow\Activities\Design\ServiceContractListItemList.cs (1)
24return SR2.GeneratedContractNameFormat;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (68)
43this.protectionLevelComboBox.Items.Add(SR2.GetString(SR2.UseRuntimeDefaults)); 55return SR2.GetString(SR2.ParameterTemplateRowName); 85this.protectionLevelComboBox.SelectedItem = SR2.GetString(SR2.UseRuntimeDefaults); 165this.parametersGrid.Rows.Insert(this.parametersGrid.Rows.Count - 1, GenerateParameterName(), typeof(string), SR2.GetString(SR2.ParameterDirectionIn)); 225if (combo.DroppedDown && combo.Text.Equals(SR2.GetString(SR2.BrowseType)) && !typeof(TypeChooserCellItem).Equals(currentCell.Value)) 249string generatedNameBase = SR2.GetString(SR2.GeneratedParameterNameBase); 372if (typeof(void).ToString().Equals(e.FormattedValue) && !(this.parametersGrid.Rows[e.RowIndex].Cells[this.nameColumn.Index].Value.Equals(SR2.GetString(SR2.ReturnValueString)))) 375errorString = SR2.GetString(SR2.VoidIsNotAValidParameterType); 417editedRow.Cells[this.directionColumn.Index].Value = SR2.GetString(SR2.ParameterDirectionIn); 496if (paramInfo.Name.Equals(SR2.GetString(SR2.ReturnValueString))) 507direction = SR2.GetString(SR2.ParameterDirectionRef); 511direction = SR2.GetString(SR2.ParameterDirectionOut); 516direction = SR2.GetString(SR2.ParameterDirectionRef); 521direction = SR2.GetString(SR2.ParameterDirectionIn); 531this.parametersGrid.Rows.Insert(0, new object[] { SR2.GetString(SR2.ReturnValueString), returnType, SR2.GetString(SR2.ParameterDirectionOut) }); 541if (this.protectionLevelComboBox.SelectedItem.Equals(SR2.GetString(SR2.UseRuntimeDefaults))) 614nameColumn.HeaderText = SR2.GetString(SR2.ParameterColumnHeaderName); 620typeColumn.HeaderText = SR2.GetString(SR2.ParameterColumnHeaderType); 635directionColumn.Items.Add(SR2.GetString(SR2.ParameterDirectionIn)); 636directionColumn.Items.Add(SR2.GetString(SR2.ParameterDirectionOut)); 637directionColumn.Items.Add(SR2.GetString(SR2.ParameterDirectionRef)); 638directionColumn.HeaderText = SR2.GetString(SR2.ParameterColumnHeaderDirection); 652DesignerHelpers.ShowMessage(this.ServiceProvider, SR2.GetString(SR2.InvalidParameterType, 721if (direction.Equals(SR2.GetString(SR2.ParameterDirectionIn))) 725if (direction.Equals(SR2.GetString(SR2.ParameterDirectionOut))) 729if (direction.Equals(SR2.GetString(SR2.ParameterDirectionRef))) 735if (name.Equals(SR2.GetString(SR2.ReturnValueString))) 756errorString = SR2.GetString(SR2.ParameterNameCannotBeEmpty); 769errorString = SR2.GetString(SR2.DuplicateOfExistingParameter); 777if (parameterName.Equals(SR2.GetString(SR2.ReturnValueString))) 783errorString = SR2.GetString(SR2.ParameterNameIsInvalid); 795get { return SR2.GetString(SR2.ChooseAParameterTypeFromBelow); } 901return SR2.GetString(SR2.BrowseType);
System\Workflow\Activities\Design\ServiceOperationListItemList.cs (1)
15return SR2.GeneratedOperationNameFormat;
System\Workflow\Activities\LogicalChannel.cs (2)
130new InvalidOperationException(SR2.GetString(SR2.Error_LogicalChannelAlreadyInitialized, this.Name)));
System\Workflow\Activities\OperationParameterInfoCollection.cs (12)
150SR2.GetString(SR2.Error_InvalidListItem, typeof(OperationParameterInfo).FullName)); 246SR2.GetString(SR2.Error_InvalidListItem, typeof(OperationParameterInfo).FullName)); 263SR2.GetString(SR2.Error_InvalidListItem, typeof(OperationParameterInfo).FullName)); 278SR2.GetString(SR2.Error_InvalidListItem, typeof(OperationParameterInfo).FullName)); 303SR2.GetString(SR2.Error_InvalidListItem, typeof(OperationParameterInfo).FullName)); 314SR2.GetString(SR2.Error_InvalidListItem, typeof(OperationParameterInfo).FullName));
System\Workflow\Activities\ReceiveActivity.cs (88)
249SR2.GetString(SR2.Error_OperationIsAlreadyAssociatedWithActivity, 356SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 363new InvalidOperationException(SR2.GetString(SR2.Error_CannotFindReceiveContext, contextName))); 380new InvalidOperationException(SR2.GetString(SR2.Error_CannotFindReceiveContext, ContextToken.RootContextName))); 396SR2.GetString(SR2.Error_UnexpectedArgumentType, typeof(Activity).FullName)); 413SR2.GetString(SR2.Error_UnexpectedArgumentType, typeof(Activity).FullName)); 436new ArgumentException(SR2.GetString(SR2.Error_ArgumentTypeInvalid, 445new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 453new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, e.QueueName))); 462new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 484new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, this.QualifiedName))); 509requestContext.SendFault(new FaultException(SR2.GetString(SR2.SecurityCheckFailed)), null); 528new FaultException(SR2.GetString(SR2.Error_FailedToValidateActivatingMessage, this.WorkflowInstanceId))); 597new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 608new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 647new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 760new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 824new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 832new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 867new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 879new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 898new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 907new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 935requestContext.SendFault(new FaultException(SR2.GetString(SR2.SecurityCheckFailed)), null); 954new FaultException(SR2.GetString(SR2.Error_FailedToValidateActivatingMessage, this.WorkflowInstanceId))); 1000new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 1008new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 1075new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 1122new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 1212SR2.GetString(SR2.Error_UnexpectedArgumentType, typeof(Activity).FullName)); 1274new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 1283new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 1384new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, activity.Name))); 1391new InvalidOperationException(SR2.GetString(SR2.Error_MethodInfoNotAvailable, activity.Name))); 1466new InvalidOperationException(SR2.GetString(SR2.Error_ReceiveActivityInvalidParameterValue, 1479new InvalidOperationException(SR2.GetString(SR2.Error_ReceiveActivityInvalidReturnValue, 1515new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing, 1523new InvalidOperationException(SR2.GetString(SR2.Error_InputValueUnavailable, 1566new ArgumentException(SR2.GetString(SR2.Error_ArgumentTypeInvalid, "sender", typeof(WorkflowQueue)))); 1629new ArgumentException(SR2.GetString(SR2.Error_ArgumentTypeInvalid, "sender", typeof(ActivityExecutionContext)))); 1636new InvalidOperationException(SR2.GetString(SR2.General_MissingService, typeof(WorkflowQueuingService)))); 1643new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, queueEventArgs.QueueName))); 1662requestContext.SendFault(new FaultException(SR2.GetString(SR2.SecurityCheckFailed)), null); 1681new FaultException(SR2.GetString(SR2.Error_FailedToValidateActivatingMessage, this.receiveActivity.WorkflowInstanceId)));
System\Workflow\Activities\ReceiveActivityDesigner.cs (4)
62this, MatchByOperationCallback, SR2.GetString(SR2.ShowActivitiesWithSameOperation)); 66this, MatchByContractCallback, SR2.GetString(SR2.ShowActivitiesWithSameContract));
System\Workflow\Activities\ReceiveActivityValidator.cs (6)
25SR2.GetString(SR2.Error_ArgumentTypeInvalid, "obj", typeof(ReceiveActivity))); 32SR2.GetString(SR2.General_MissingService, typeof(ITypeProvider).Name))); 39SR2.GetString(SR2.Error_Validation_OperationInfoNotSpecified, receiveActivity.Name),
System\Workflow\Activities\SendActivity.cs (26)
153new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 163new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 220SR2.GetString(SR2.Error_OperationIsAlreadyAssociatedWithActivity, 297SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 347SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString)); 374new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 381new InvalidOperationException(SR2.GetString(SR2.Error_MethodInfoNotAvailable, this.Name))); 497new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 602new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, activity.Name))); 609new InvalidOperationException(SR2.GetString(SR2.Error_MethodInfoNotAvailable, activity.Name))); 676new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing, 711new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing, 726new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing,
System\Workflow\Activities\SendActivityDesigner.cs (4)
62this, MatchByOperationCallback, SR2.GetString(SR2.ShowActivitiesWithSameOperation)); 66this, MatchByContractCallback, SR2.GetString(SR2.ShowActivitiesWithSameContract));
System\Workflow\Activities\SendActivityValidator.cs (6)
25SR2.GetString(SR2.Error_ArgumentTypeInvalid, "obj", typeof(SendActivity))); 32SR2.GetString(SR2.General_MissingService, typeof(ITypeProvider).Name))); 39SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified,
System\Workflow\Activities\TypedOperationInfo.cs (2)
41SR2.GetString(SR2.Error_ArgumentValueNullOrEmptyString));
System\Workflow\Activities\ValidationHelper.cs (90)
109SR2.GetString( 110SR2.Error_Validation_InvalidMaxItemsInObjectGraph), 165SR2.GetString(SR2.Error_Validation_ContractNameDuplicate, typeName), 278SR2.GetString( 279SR2.Error_OperationNotImplemented, 294SR2.GetString( 295SR2.Error_DuplicatedOperationName, 312SR2.GetString( 313SR2.Error_OperationNotImplemented, 328SR2.GetString( 329SR2.Error_DuplicatedOperationName, 346SR2.GetString( 347SR2.Error_DuplicatedOperationName, 402new ValidationError(SR2.GetString(SR2.Error_Validation_ChannelTokenNotSpecified, activity.Name), 412new ValidationError(SR2.GetString(SR2.Error_Validation_ChannelTokenNameNotSpecified, activity.Name), 422new ValidationError(SR2.GetString(SR2.Error_Validation_ChannelTokenConfigurationNameNotSpecified, activity.Name), 464new ValidationError(SR2.GetString(SR2.Error_Validation_OwnerActivityNameNotFound, endpoint.OwnerActivityName, activity.Name), 513new ValidationError(SR2.GetString(SR2.Error_Validation_ContextTokenNameNotSpecified, activity.Name), 524new ValidationError(SR2.GetString(SR2.Error_Validation_RootContextScope, activity.Name), 566new ValidationError(SR2.GetString(SR2.Error_Validation_OwnerActivityNameNotFound, contextToken.OwnerActivityName, activity.Name), 598new InvalidOperationException(SR2.GetString(SR2.General_MissingService, typeof(ITypeProvider).Name))); 606new ValidationError(SR2.GetString(SR2.Error_Validation_OperationNameNotSpecified, activity.Name), 618new ValidationError(SR2.GetString(SR2.Error_Validation_OperationNameInvalid, activity.Name), 625new ValidationError(SR2.GetString(SR2.Error_Validation_ContractNameNotSpecified, activity.Name), 633new ValidationError(SR2.GetString(SR2.Error_Validation_ContractNameInvalid, activity.Name), 658new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterPosition, 668new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterPositionDuplicate, 682new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterNameInvalid, 692new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterNameDuplicate, 706new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterType, 720new ValidationError(SR2.GetString(SR2.Error_Validation_ContractTypeNotSpecified, activity.Name), 738new ValidationError(SR2.GetString(SR2.Error_Validation_ContractTypeNotFound, activity.Name), 746new ValidationError(SR2.GetString(SR2.Error_Validation_ContractTypeNotInterface, contractType.FullName, activity.Name), 754new ValidationError(SR2.GetString(SR2.Error_ServiceContractAttributeMissing, contractType.FullName), 765new ValidationError(SR2.GetString(SR2.Error_Validation_OperationNotInContract, operationInfo.Name, contractType.FullName), 773new ValidationError(SR2.GetString(SR2.Error_Validation_AsyncPatternOperationNotSupported, operationInfo.Name), 788new ValidationError(SR2.GetString(SR2.Error_Validation_ReturnTypeInOneWayOperation, 801new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterPosition, 811new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterPositionDuplicate, 821new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterNameInvalid, 831new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterNameDuplicate, 841new ValidationError(SR2.GetString(SR2.Error_Validation_OperationParameterDirectionInOneWayOperation, 891SR2.GetString(SR2.Error_MethodInfoNotAvailable, ownerActivity.Name)); 951validationErrors.Add(new ValidationError(SR2.GetString( 952SR2.Warning_SendActivityParameterBindingMissing, 963validationErrors.Add(new ValidationError(SR2.GetString( 964SR2.Warning_ReceiveActivityReturnValueBindingMissing, 972validationErrors.Add(new ValidationError(SR2.GetString( 973SR2.Warning_ReceiveActivityParameterBindingMissing, 1017validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_ServiceContractAttributeMissing, contractType.FullName), WorkflowServicesErrorNumbers.Error_ServiceContractAttributeMissing, false, "ServiceOperationInfo")); 1023validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_OperationNotInContract, methodInfo.Name, contractType.FullName), WorkflowServicesErrorNumbers.Error_OperationNotInContract, false, "ServiceOperationInfo")); 1030validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_OperationContractAttributeMissing, methodInfo.Name), WorkflowServicesErrorNumbers.Error_OperationContractAttributeMissing, false, "ServiceOperationInfo")); 1054validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_Validation_OperationIsOneWay, methodInfo.Name), WorkflowServicesErrorNumbers.Error_OperationIsOneWay, false, "CanCreateInstance")); 1058validationErrors.Add(new ValidationError(SR2.GetString(SR2.Error_OperationNotInitiating, methodInfo.Name), WorkflowServicesErrorNumbers.Error_OperationNotInitiating, false, "CanCreateInstance"));
System\Workflow\Activities\WorkflowServiceAttributes.cs (2)
144throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoWorkflowServiceBehavior)));
System\Workflow\Activities\WorkflowServiceAttributesDynamicPropertyValidator.cs (4)
33new InvalidOperationException(SR2.GetString(SR2.Error_ContextStackMissing))); 40new InvalidOperationException(SR2.GetString(SR2.Error_ContextStackItemMissing, typeof(Activity).Name)));
System\Workflow\Runtime\CompiledWorkflowDefinitionContext.cs (2)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("workflowType", SR2.GetString(SR2.NotAnActivityType));
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (18)
78SR2.GetString(SR2.Error_UnknownConfigurationParameter, key), "parameters"); 90SR2.GetString(SR2.Error_InvalidIdleTimeout, parameters[ChannelManagerService.IdleTimeoutSetting]), 107SR2.GetString(SR2.Error_InvalidLeaseTimeout, parameters[ChannelManagerService.LeaseTimeoutSetting]), 124SR2.GetString(SR2.Error_InvalidMaxIdleChannelsPerEndpoint, parameters[ChannelManagerService.MaxIdleChannelsPerEndpointSetting]), 134SR2.GetString(SR2.Error_UnknownConfigurationParameter, key), "parameters"); 218SR2.GetString(SR2.Error_Cache_InvalidWorkflowId)); 279new InvalidOperationException(SR2.GetString(SR2.Error_CannotProvideChannel_ServiceStopped, logicalChannel.ConfigurationName, logicalChannel.CustomAddress))); 285SR2.GetString(SR2.Error_Cache_InvalidWorkflowId)); 304new InvalidOperationException(SR2.GetString(SR2.Error_CannotProvideChannel, logicalChannel.ConfigurationName, logicalChannel.CustomAddress)));
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (4)
221errors.Add(new ValidationError(SR2.XomlWorkflowHasClassName, ErrorNumbers.Error_XomlWorkflowHasClassName)); 233errors.Add(new ValidationError(SR2.XomlWorkflowHasCode, ErrorNumbers.Error_XomlWorkflowHasCode)); 316throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WorkflowValidationFailedException(SR2.GetString(SR2.WorkflowValidationFailed), errors));
System\Workflow\Runtime\WorkflowDefinitionContext.cs (1)
128throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WorkflowValidationFailedException(SR2.WorkflowValidationFailed, errors));