FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (8)
254this.IsOneWay = operation.Messages.Count == 1;
256this.RequestRequiresSerialization = !operation.Messages[0].IsUntypedMessage;
257this.ReplyRequiresSerialization = !this.IsOneWay && !operation.Messages[1].IsUntypedMessage;
273foreach (MessageDescription message in operation.Messages)
347_request = CreateMessageInfo(this.Operation.Messages[0], ":Request");
355throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].MessageName, _request.BodyMapping.XsdElementName, this.Operation.Name)));
358_reply = CreateMessageInfo(this.Operation.Messages[1], ":Response");
361throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, _reply.BodyMapping.XsdElementName, responseName.EncodedName)));