FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (11)
84protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
125protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
197protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
280protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
424protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
485protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
501protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
585protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
685protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
801protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
882protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (11)
22private MessageVersion _messageVersion;
39public BinaryMessageEncoderFactory(MessageVersion messageVersion, int maxReadPoolSize, int maxWritePoolSize, int maxSessionSize,
75public override MessageVersion MessageVersion
361public override MessageVersion MessageVersion
1219private MessageVersion _messageVersion;
1297public MessagePatterns(IXmlDictionary dictionary, XmlBinaryReaderSession readerSession, MessageVersion messageVersion)
1480public PatternMessage(IBufferedMessageData messageData, MessageVersion messageVersion)
1509public PatternMessage(IBufferedMessageData messageData, MessageVersion messageVersion,
1572public override MessageVersion Version
1712private MessageVersion _messageVersion;
1717public PatternMessageBuffer(IBufferedMessageData messageDataAtBody, MessageVersion messageVersion,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (22)
54public abstract MessageVersion Version { get; } // must never return null
113static public Message CreateMessage(MessageVersion version, string action, object body)
118static public Message CreateMessage(MessageVersion version, string action, object body, XmlObjectSerializer serializer)
127static public Message CreateMessage(MessageVersion version, string action, XmlReader body)
132static public Message CreateMessage(MessageVersion version, string action, XmlDictionaryReader body)
142static public Message CreateMessage(MessageVersion version, string action, BodyWriter body)
151static internal Message CreateMessage(MessageVersion version, ActionHeader actionHeader, BodyWriter body)
160static public Message CreateMessage(MessageVersion version, string action)
167static internal Message CreateMessage(MessageVersion version, ActionHeader actionHeader)
174static public Message CreateMessage(XmlReader envelopeReader, int maxSizeOfHeaders, MessageVersion version)
179static public Message CreateMessage(XmlDictionaryReader envelopeReader, int maxSizeOfHeaders, MessageVersion version)
189static public Message CreateMessage(MessageVersion version, FaultCode faultCode, string reason, string action)
201static public Message CreateMessage(MessageVersion version, FaultCode faultCode, string reason, object detail, string action)
213static public Message CreateMessage(MessageVersion version, MessageFault fault, string action)
937public BodyWriterMessage(MessageVersion version, string action, BodyWriter bodyWriter)
944public BodyWriterMessage(MessageVersion version, ActionHeader actionHeader, BodyWriter bodyWriter)
1000public override MessageVersion Version
1231public StreamedMessage(XmlDictionaryReader reader, int maxSizeOfHeaders, MessageVersion desiredVersion)
1296public override MessageVersion Version
1440MessageVersion desiredVersion = messageData.MessageEncoder.MessageVersion;
1534public override MessageVersion Version
1587if (this.Version == MessageVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (28)
41public virtual bool IsMessageVersionSupported(MessageVersion messageVersion)
61if (IsMessageVersionSupported(MessageVersion.Soap12WSAddressing10))
63WriteHeader(writer, MessageVersion.Soap12WSAddressing10);
65else if (IsMessageVersionSupported(MessageVersion.Soap11WSAddressing10))
67WriteHeader(writer, MessageVersion.Soap11WSAddressing10);
69else if (IsMessageVersionSupported(MessageVersion.Soap12))
71WriteHeader(writer, MessageVersion.Soap12);
73else if (IsMessageVersionSupported(MessageVersion.Soap11))
75WriteHeader(writer, MessageVersion.Soap11);
79WriteHeader(writer, MessageVersion.None);
89public void WriteHeader(XmlWriter writer, MessageVersion messageVersion)
94public void WriteHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
105public void WriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
114protected virtual void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
120public void WriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
129protected abstract void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion);
131protected void WriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
185internal static void GetHeaderAttributes(XmlDictionaryReader reader, MessageVersion version,
291protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
372public override bool IsMessageVersionSupported(MessageVersion messageVersion)
422protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
441protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
451protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
470private MessageVersion _version;
481public BufferedHeader(MessageVersion version, XmlBuffer buffer, int bufferIndex, string name, string ns, bool mustUnderstand, string actor, bool relay, bool isRefParam)
494public BufferedHeader(MessageVersion version, XmlBuffer buffer, int bufferIndex, MessageHeaderInfo headerInfo)
507public BufferedHeader(MessageVersion version, XmlBuffer buffer, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes)
568public override bool IsMessageVersionSupported(MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (10)
23private MessageVersion _version;
39public MessageHeaders(MessageVersion version, int initialSize)
44public MessageHeaders(MessageVersion version)
49internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes, ref int maxSizeOfHeaders)
95internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified)
101internal MessageHeaders(MessageVersion version, MessageHeaders headers, IBufferedMessageData bufferedMessageData)
252public MessageVersion MessageVersion
1131internal void Init(MessageVersion version, int initialSize)
1151internal void Init(MessageVersion version)
1159internal void Init(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
169private void AddMessageHeaderForParameter(MessageHeaders headers, PartInfo headerPart, MessageVersion messageVersion, object parameterValue, bool isXmlElement)
188protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
337protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
481protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (22)
49protected abstract void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest);
50protected virtual Task SerializeBodyAsync(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
57protected abstract object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest);
59protected virtual void WriteBodyAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
255public Message SerializeRequest(MessageVersion messageVersion, object[] parameters)
285public Message SerializeReply(MessageVersion messageVersion, object[] parameters, object result)
337private void SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest)
353private async Task SerializeBodyContentsAsync(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest)
370private IAsyncResult BeginSerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest,
387internal SerializeBodyContentsAsyncResult(OperationFormatter operationFormatter, XmlDictionaryWriter writer, MessageVersion version, object[] parameters,
649public OperationFormatterMessage(OperationFormatter operationFormatter, MessageVersion version, ActionHeader action,
657public OperationFormatterMessage(MessageVersion version, string action, BodyWriter bodyWriter) : base(version, action, bodyWriter) { }
693private MessageVersion _version;
696public OperationFormatterBodyWriter(OperationFormatter operationFormatter, MessageVersion version,
812protected MessageVersion version;
814public OperationFormatterHeader(OperationFormatter operationFormatter, MessageVersion version, string name, string ns, bool mustUnderstand, string actor, bool relay)
825public override bool IsMessageVersionSupported(MessageVersion messageVersion)
856protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
863protected virtual void OnWriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
872public XmlElementMessageHeader(OperationFormatter operationFormatter, MessageVersion version, string name, string ns, bool mustUnderstand, string actor, bool relay, XmlElement headerValue) :
878protected override void OnWriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
883protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (5)
255protected override void WriteBodyAttributes(XmlDictionaryWriter writer, MessageVersion version)
261protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
305private void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object returnValue, object[] parameters)
326protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
357private object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object[] parameters, bool isRequest)