System\ServiceModel\Description\DispatcherBuilder.cs (8)
976child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action);
980child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action,
1007child = new DispatchOperation(parent, operation.Name, requestAction);
1012child = new DispatchOperation(parent, operation.Name, requestAction, replyAction);
1093ClientOperation proxyOperation = proxy.Operations[operation.Name];
1110if (dispatch.Operations.Contains(operation.Name))
1112dispatchOperation = dispatch.Operations[operation.Name];
1114if (dispatchOperation == null && dispatch.UnhandledDispatchOperation != null && dispatch.UnhandledDispatchOperation.Name == operation.Name)
System\ServiceModel\Description\MessageContractExporter.cs (7)
62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotHaveTwoOperationsWithTheSameElement5, parentOperation.OperationMethod.DeclaringType, parentOperation.OperationMethod.Name, qname, existingElement.Operation.OperationMethod.DeclaringType, existingElement.Operation.Name)));
130StreamFormatter streamFormatter = StreamFormatter.Create(description, operation.Name, isRequest);
228XmlQualifiedName typeName = ExportType(fault.DetailType, fault.Name, operation.Name, out xsdType);
234throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxFaultTypeAnonymous, operation.Name, fault.DetailType.FullName)));
949XmlQualifiedName typeName = ExportType(dataContractType, header.Name, operation.Name, out xsdType);
979XmlQualifiedName typeName = ExportType(dataContractType, description.Body.ReturnValue.Name, operation.Name, out xsdType);
987XmlQualifiedName typeName = ExportType(dataContractType, bodyPart.Name, operation.Name, out xsdType);
System\ServiceModel\Description\MessageContractImporter.cs (9)
173{ "Operation", operation.Name },
372operation.Name, operationBinding.Binding.Name, GetUse(operationStyleAndUse), GetStyle(operationStyleAndUse),
420AddError(SR.GetString(SR.SFxInconsistentWsdlOperationStyleInOperationMessages, operation.Name, inferredOperationStyle, style));
559request.Body.WrapperName = operation.Name;
567response.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(operation.Name).EncodedName;
619TraceFaultCannotBeImported(fault.Name, description.Name, SR.GetString(SR.SFxWsdlOperationFaultNeedsMessageAttribute2, fault.Name, fault.Operation.PortType.Name));
628TraceFaultCannotBeImported(fault.Name, description.Name, SR.GetString(SR.UnsupportedWSDLOnlyOneMessage));
638TraceFaultCannotBeImported(fault.Name, description.Name, SR.GetString(SR.UnsupportedWSDLTheFault));
1899throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxDataContractSerializerDoesNotSupportEncoded, operation.Name)));
System\ServiceModel\Description\TypeLoader.cs (27)
494opDesc.Name,
504opDesc.Name,
515opDesc.Name,
728Collection<OperationDescription> existingOps = contractDescription.Operations.FindAll(op.Name);
735op.Name, inheritedContractDescription.Name, existingOp.DeclaringContract.Name)));
1562this.syncOperation.Name)));
1578this.syncOperation.Name)));
1595this.syncOperation.Name)));
1610this.syncOperation.Name)));
1624this.syncOperation.Name,
1640this.syncOperation.Name,
1655this.syncOperation.Name,
1672this.syncOperation.Name,
1703this.syncOperation.Name)));
1718this.syncOperation.Name)));
1732this.syncOperation.Name)));
1745this.syncOperation.Name,
1760this.syncOperation.Name,
1774this.syncOperation.Name,
1790this.syncOperation.Name,
1822this.taskOperation.Name)));
1838this.taskOperation.Name)));
1853this.taskOperation.Name)));
1867this.taskOperation.Name,
1883this.taskOperation.Name,
1898this.taskOperation.Name,
1915this.taskOperation.Name,
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (11)
314keyBase = keyBase + operation.Name;
389throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxKnownTypeNull, Operation.Name)));
393if (this.request != null && this.IsRpc && this.Operation.IsValidateRpcWrapperName && this.request.BodyMapping.XsdElementName != this.Operation.Name)
394throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].MessageName, request.BodyMapping.XsdElementName, this.Operation.Name)));
398XmlName responseName = TypeLoader.GetBodyWrapperResponseName(this.Operation.Name);
400throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, reply.BodyMapping.XsdElementName, responseName.EncodedName)));
469throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxHeaderNameMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Name, headerName)));
476throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxHeaderNamespaceMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Namespace, headerNs)));
529throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageMustHaveASingleBody, Operation.Name, message.MessageName)));
621throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxFaultTypeAnonymous, this.Operation.Name, fault.DetailType.FullName)));
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (6)
437SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, xe.Message), xe));
442SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, fe.Message), fe));
447SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, se.Message), se));
477SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, xe.Message),
484SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, fe.Message),
490SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, se.Message),