System\ServiceModel\Channels\Addressing.cs (11)
85protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
126protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
198protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
281protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
433protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
494protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
510protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
604protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
703protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
819protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
900protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (11)
21MessageVersion messageVersion;
40public BinaryMessageEncoderFactory(MessageVersion messageVersion, int maxReadPoolSize, int maxWritePoolSize, int maxSessionSize,
76public override MessageVersion MessageVersion
457public override MessageVersion MessageVersion
1336MessageVersion messageVersion;
1414public MessagePatterns(IXmlDictionary dictionary, XmlBinaryReaderSession readerSession, MessageVersion messageVersion)
1597public PatternMessage(IBufferedMessageData messageData, MessageVersion messageVersion)
1626public PatternMessage(IBufferedMessageData messageData, MessageVersion messageVersion,
1703public override MessageVersion Version
1844MessageVersion messageVersion;
1849public PatternMessageBuffer(IBufferedMessageData messageDataAtBody, MessageVersion messageVersion,
System\ServiceModel\Channels\Message.cs (22)
58public abstract MessageVersion Version { get; } // must never return null
155static public Message CreateMessage(MessageVersion version, string action, object body)
160static public Message CreateMessage(MessageVersion version, string action, object body, XmlObjectSerializer serializer)
169static public Message CreateMessage(MessageVersion version, string action, XmlReader body)
174static public Message CreateMessage(MessageVersion version, string action, XmlDictionaryReader body)
184static public Message CreateMessage(MessageVersion version, string action, BodyWriter body)
193static internal Message CreateMessage(MessageVersion version, ActionHeader actionHeader, BodyWriter body)
202static public Message CreateMessage(MessageVersion version, string action)
209static internal Message CreateMessage(MessageVersion version, ActionHeader actionHeader)
216static public Message CreateMessage(XmlReader envelopeReader, int maxSizeOfHeaders, MessageVersion version)
221static public Message CreateMessage(XmlDictionaryReader envelopeReader, int maxSizeOfHeaders, MessageVersion version)
231static public Message CreateMessage(MessageVersion version, FaultCode faultCode, string reason, string action)
243static public Message CreateMessage(MessageVersion version, FaultCode faultCode, string reason, object detail, string action)
255static public Message CreateMessage(MessageVersion version, MessageFault fault, string action)
978public BodyWriterMessage(MessageVersion version, string action, BodyWriter bodyWriter)
985public BodyWriterMessage(MessageVersion version, ActionHeader actionHeader, BodyWriter bodyWriter)
1069public override MessageVersion Version
1296public StreamedMessage(XmlDictionaryReader reader, int maxSizeOfHeaders, MessageVersion desiredVersion)
1362public override MessageVersion Version
1506MessageVersion desiredVersion = messageData.MessageEncoder.MessageVersion;
1602public override MessageVersion Version
1655if (this.Version == MessageVersion.None)
System\ServiceModel\Channels\MessageHeader.cs (32)
41public virtual bool IsMessageVersionSupported(MessageVersion messageVersion)
58if (IsMessageVersionSupported(MessageVersion.Soap12WSAddressing10))
60WriteHeader(writer, MessageVersion.Soap12WSAddressing10);
62else if (IsMessageVersionSupported(MessageVersion.Soap12WSAddressingAugust2004))
64WriteHeader(writer, MessageVersion.Soap12WSAddressingAugust2004);
66else if (IsMessageVersionSupported(MessageVersion.Soap11WSAddressing10))
68WriteHeader(writer, MessageVersion.Soap11WSAddressing10);
70else if (IsMessageVersionSupported(MessageVersion.Soap11WSAddressingAugust2004))
72WriteHeader(writer, MessageVersion.Soap11WSAddressingAugust2004);
74else if (IsMessageVersionSupported(MessageVersion.Soap12))
76WriteHeader(writer, MessageVersion.Soap12);
78else if (IsMessageVersionSupported(MessageVersion.Soap11))
80WriteHeader(writer, MessageVersion.Soap11);
84WriteHeader(writer, MessageVersion.None);
91public void WriteHeader(XmlWriter writer, MessageVersion messageVersion)
96public void WriteHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
107public void WriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
116protected virtual void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
122public void WriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
131protected abstract void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion);
133protected void WriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
187internal static void GetHeaderAttributes(XmlDictionaryReader reader, MessageVersion version,
293protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
374public override bool IsMessageVersionSupported(MessageVersion messageVersion)
424protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
443protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
453protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
472MessageVersion version;
483public BufferedHeader(MessageVersion version, XmlBuffer buffer, int bufferIndex, string name, string ns, bool mustUnderstand, string actor, bool relay, bool isRefParam)
496public BufferedHeader(MessageVersion version, XmlBuffer buffer, int bufferIndex, MessageHeaderInfo headerInfo)
509public BufferedHeader(MessageVersion version, XmlBuffer buffer, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes)
570public override bool IsMessageVersionSupported(MessageVersion messageVersion)
System\ServiceModel\Channels\MessageHeaders.cs (10)
22MessageVersion version;
38public MessageHeaders(MessageVersion version, int initialSize)
43public MessageHeaders(MessageVersion version)
48internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes, ref int maxSizeOfHeaders)
94internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified)
100internal MessageHeaders(MessageVersion version, MessageHeaders headers, IBufferedMessageData bufferedMessageData)
251public MessageVersion MessageVersion
1139internal void Init(MessageVersion version, int initialSize)
1159internal void Init(MessageVersion version)
1167internal void Init(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified)
System\ServiceModel\Channels\MtomMessageEncoder.cs (5)
22public MtomMessageEncoderFactory(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, int maxBufferSize, XmlDictionaryReaderQuotas quotas)
32public override MessageVersion MessageVersion
84MessageVersion version;
100public MtomMessageEncoder(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, int maxBufferSize, XmlDictionaryReaderQuotas quotas)
183public override MessageVersion MessageVersion
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (15)
1424MessageVersion messageVersion;
1461public MessageVersion MessageVersion
3101internal static Message CreateAcknowledgmentMessage(MessageVersion version,
3115internal static Message CreateAckRequestedMessage(MessageVersion messageVersion,
3127internal static Message CreateCloseSequenceResponse(MessageVersion messageVersion, UniqueId messageId,
3139internal static Message CreateCreateSequenceResponse(MessageVersion messageVersion,
3158internal static Message CreateCSRefusedCommunicationFault(MessageVersion messageVersion,
3164internal static Message CreateCSRefusedProtocolFault(MessageVersion messageVersion,
3170internal static Message CreateCSRefusedServerTooBusyFault(MessageVersion messageVersion,
3180static Message CreateCSRefusedFault(MessageVersion messageVersion,
3211public static Exception CreateCSFaultException(MessageVersion version,
3279internal static Message CreateEndpointNotFoundFault(MessageVersion version, string reason)
3302internal static Message CreateTerminateMessage(MessageVersion version,
3308internal static Message CreateTerminateMessage(MessageVersion version,
3320internal static Message CreateTerminateResponseMessage(MessageVersion version, UniqueId messageId, UniqueId sequenceId)
System\ServiceModel\Channels\WsrmMessageInfo.cs (17)
214static Exception CreateWsrmRequiredException(MessageVersion messageVersion)
225public static WsrmMessageInfo Get(MessageVersion messageVersion,
231public static WsrmMessageInfo Get(MessageVersion messageVersion,
667static void ValidateMustUnderstand(MessageVersion version, Message message)
745public static CloseSequenceInfo ReadMessage(MessageVersion messageVersion, Message message,
797public static CloseSequenceResponseInfo ReadMessage(MessageVersion messageVersion, Message message,
899public static CreateSequenceInfo ReadMessage(MessageVersion messageVersion,
935public static void ValidateCreateSequenceHeaders(MessageVersion messageVersion,
1004public static CreateSequenceResponseInfo ReadMessage(MessageVersion messageVersion,
1071public static TerminateSequenceInfo ReadMessage(MessageVersion messageVersion,
1127public static TerminateSequenceResponseInfo ReadMessage(MessageVersion messageVersion, Message message,
1240protected void SetMessageId(MessageVersion messageVersion, MessageHeaders headers)
1254protected void SetReplyTo(MessageVersion messageVersion, MessageHeaders headers)
1382protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
1656protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
1783protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
1821protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
System\ServiceModel\Configuration\Properties.cs (2)
2006properties.Add(new ConfigurationProperty("messageVersion", typeof(System.ServiceModel.Channels.MessageVersion), "Soap12WSAddressing10", new System.ServiceModel.Configuration.MessageVersionConverter(), null, System.Configuration.ConfigurationPropertyOptions.None));
3556properties.Add(new ConfigurationProperty("messageVersion", typeof(System.ServiceModel.Channels.MessageVersion), "Soap12WSAddressing10", new System.ServiceModel.Configuration.MessageVersionConverter(), null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
196void AddMessageHeaderForParameter(MessageHeaders headers, PartInfo headerPart, MessageVersion messageVersion, object parameterValue, bool isXmlElement)
215protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
362protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
506protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
System\ServiceModel\Dispatcher\OperationFormatter.cs (20)
53protected abstract void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest);
55protected abstract object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest);
57protected virtual void WriteBodyAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
257public Message SerializeRequest(MessageVersion messageVersion, object[] parameters)
287public Message SerializeReply(MessageVersion messageVersion, object[] parameters, object result)
341void SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest)
357IAsyncResult BeginSerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest,
374internal SerializeBodyContentsAsyncResult(OperationFormatter operationFormatter, XmlDictionaryWriter writer, MessageVersion version, object[] parameters,
639public OperationFormatterMessage(OperationFormatter operationFormatter, MessageVersion version, ActionHeader action,
647public OperationFormatterMessage(MessageVersion version, string action, BodyWriter bodyWriter) : base(version, action, bodyWriter) { }
683MessageVersion version;
686public OperationFormatterBodyWriter(OperationFormatter operationFormatter, MessageVersion version,
797protected MessageVersion version;
799public OperationFormatterHeader(OperationFormatter operationFormatter, MessageVersion version, string name, string ns, bool mustUnderstand, string actor, bool relay)
810public override bool IsMessageVersionSupported(MessageVersion messageVersion)
841protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
848protected virtual void OnWriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
857public XmlElementMessageHeader(OperationFormatter operationFormatter, MessageVersion version, string name, string ns, bool mustUnderstand, string actor, bool relay, XmlElement headerValue) :
863protected override void OnWriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
871protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (5)
260protected override void WriteBodyAttributes(XmlDictionaryWriter writer, MessageVersion version)
271protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
315void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object returnValue, object[] parameters)
337protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
368object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object[] parameters, bool isRequest)
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (2)
120protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
247protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
System\ServiceModel\Web\WebOperationContext.cs (9)
106Message message = Message.CreateMessage(MessageVersion.None, (string)null, instance, serializer);
124Message message = Message.CreateMessage(MessageVersion.None, (string)null, instance, serializer);
136Message message = Message.CreateMessage(MessageVersion.None, (string)null, new XmlSerializerBodyWriter(instance, serializer));
152message = Message.CreateMessage(MessageVersion.None, (string)null);
156message = Message.CreateMessage(MessageVersion.None, (string)null, document.CreateReader());
170Message message = Message.CreateMessage(MessageVersion.None, (string)null, element.CreateReader());
182Message message = Message.CreateMessage(MessageVersion.None, (string)null, item.GetAtom10Formatter());
194Message message = Message.CreateMessage(MessageVersion.None, (string)null, feed.GetAtom10Formatter());
206Message message = Message.CreateMessage(MessageVersion.None, (string)null, document.GetFormatter());