System\ServiceModel\Description\TypeLoader.cs (25)
479new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Attributes6,
490new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Attributes6,
500new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Attributes6,
1651new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Parameters5,
1667new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Parameters5,
1684new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Parameters5,
1699new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_ReturnType5,
1713new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Attributes6,
1728new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Attributes6,
1743new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Property6,
1760new InvalidOperationException(SRP.Format(SRP.SyncAsyncMatchConsistency_Property6,
1792new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Parameters5,
1807new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Parameters5,
1821new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_ReturnType5,
1834new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Attributes6,
1848new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Attributes6,
1862new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Property6,
1878new InvalidOperationException(SRP.Format(SRP.SyncTaskMatchConsistency_Property6,
1909new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Parameters5,
1925new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Parameters5,
1940new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_ReturnType5,
1954new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Attributes6,
1969new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Attributes6,
1984new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Property6,
2001new InvalidOperationException(SRP.Format(SRP.TaskAsyncMatchConsistency_Property6,
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
399throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxRpcMessageBodyPartNameInvalid, Operation.Name, Operation.Messages[0].MessageName, _request.BodyMapping.XsdElementName, Operation.Name)));
408throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxRpcMessageBodyPartNameInvalid, Operation.Name, Operation.Messages[1].MessageName, _reply.BodyMapping.XsdElementName, responseName.EncodedName)));
499throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxHeaderNameMismatchInMessageContract, message.MessageType, header.MemberInfo.Name, header.Name, headerName)));
503throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxHeaderNameMismatchInOperation, Operation.Name, Operation.DeclaringContract.Name, Operation.DeclaringContract.Namespace, header.Name, headerName)));
510throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxHeaderNamespaceMismatchInMessageContract, message.MessageType, header.MemberInfo.Name, header.Namespace, headerNs)));
514throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxHeaderNamespaceMismatchInOperation, Operation.Name, Operation.DeclaringContract.Name, Operation.DeclaringContract.Namespace, header.Namespace, headerNs)));
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
579throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, _requestWrapperName, _requestWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
604throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, _responseWrapperName, _responseWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
654new ArgumentException(SRP.Format(SRP.SFxParameterCountMismatch, "parts", parts.Length, "parameters", parameters.Length), "parameters"));
733new ArgumentException(SRP.Format(SRP.SFxParameterCountMismatch, "parts", parts.Length, "parameters", parameters.Length), "parameters"));
System\ServiceModel\EndpointAddress.cs (3)
685throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value)));
856throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
997throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", SRP.Format(SRP.SFxNone2004));
System\ServiceModel\Security\SecurityUtils.cs (5)
849throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.CannotFindCert, storeName, storeLocation, findType, findValue)));
905return new InvalidOperationException(SRP.Format(SRP.CannotFindCert, storeName, storeLocation, findType, findValue));
907return new InvalidOperationException(SRP.Format(SRP.CannotFindCertForTarget, storeName, storeLocation, findType, findValue, target));
911return new InvalidOperationException(SRP.Format(SRP.FoundMultipleCerts, storeName, storeLocation, findType, findValue));
913return new InvalidOperationException(SRP.Format(SRP.FoundMultipleCertsForTarget, storeName, storeLocation, findType, findValue, target));