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\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\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\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\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)));