1 write to ContentType
System.ServiceModel (1)
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
237
messageData.
ContentType
= contentType;
6 references to ContentType
System.ServiceModel (6)
System\ServiceModel\Channels\MtomMessageEncoder.cs (6)
644
if (
ContentType
== null || messageEncoder.IsMTOMContentType(
ContentType
))
648
((IXmlMtomReaderInitializer)xmlReader).SetInput(buffer.Array, buffer.Offset, buffer.Count, MtomMessageEncoderFactory.GetSupportedEncodings(),
ContentType
, this.Quotas, this.messageEncoder.MaxBufferSize, onClose);
652
xmlReader = XmlDictionaryReader.CreateMtomReader(buffer.Array, buffer.Offset, buffer.Count, MtomMessageEncoderFactory.GetSupportedEncodings(),
ContentType
, this.Quotas, this.messageEncoder.MaxBufferSize, onClose);
663
((IXmlTextReaderInitializer)xmlReader).SetInput(buffer.Array, buffer.Offset, buffer.Count, TextMessageEncoderFactory.GetEncodingFromContentType(
ContentType
, this.messageEncoder.contentEncodingMap), this.Quotas, onClose);
667
xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, TextMessageEncoderFactory.GetEncodingFromContentType(
ContentType
, this.messageEncoder.contentEncodingMap), this.Quotas, onClose);