7 overrides of ContentType
System.ServiceModel (3)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
449
public override string
ContentType
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
150
public override string
ContentType
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
319
public override string
ContentType
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (1)
46
public override string
ContentType
System.ServiceModel.Web (3)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (1)
115
public override string
ContentType
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
89
public override string
ContentType
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (1)
50
public override string
ContentType
26 references to ContentType
System.ServiceModel (26)
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (1)
226
response.Headers.Add(WebSocketTransportSettings.SoapContentTypeHeader, this.encoder.
ContentType
);
System\ServiceModel\Channels\FramingChannels.cs (5)
205
EncodedContentType encodedContentType = EncodedContentType.Create(this.MessageEncoder.
ContentType
);
270
ConnectionUpgradeHelper.DecodeFramingFault(this.decoder, connection, Via, MessageEncoder.
ContentType
, ref timeoutHelper);
289
MessageEncoder.
ContentType
, ref timeoutHelper);
535
channel.MessageEncoder.
ContentType
, this.identityToImpersonate, timeoutHelper, onUpgrade, this);
619
connection, channel.Via, channel.MessageEncoder.
ContentType
, ref timeoutHelper,
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
187
this.webSocketSoapContentType = new Lazy<string>(() => { return this.MessageEncoderFactory.CreateSessionEncoder().
ContentType
; }, LazyThreadSafetyMode.ExecutionAndPublication);
System\ServiceModel\Channels\HttpChannelHelpers.cs (5)
409
string statusDescription = string.Format(CultureInfo.InvariantCulture, HttpChannelUtilities.StatusDescriptionStrings.HttpContentTypeMismatch, ContentType, messageEncoder.
ContentType
);
410
ThrowHttpProtocolException(SR.GetString(SR.ContentTypeMismatch, ContentType, messageEncoder.
ContentType
), HttpStatusCode.UnsupportedMediaType, statusDescription);
1273
contentType = messageEncoder.
ContentType
;
1411
contentType = messageEncoder.
ContentType
;
3868
encoder.
ContentType
,
System\ServiceModel\Channels\MessageBuffer.cs (1)
229
return messageData.MessageEncoder.
ContentType
;
System\ServiceModel\Channels\MessageEncoder.cs (2)
94
return
ContentType
;
123
return IsContentTypeSupported(contentType, this.
ContentType
, this.MediaType);
System\ServiceModel\Channels\MsmqOutputChannel.cs (1)
26
EncodedContentType encodedContentType = EncodedContentType.Create(factory.MessageEncoderFactory.Encoder.
ContentType
);
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
228
EncodedContentType encodedContentType = EncodedContentType.Create(this.encoder.
ContentType
);
System\ServiceModel\Channels\PeerNodeImplementation.cs (1)
415
string contentType = settings.MessageEncoderFactory.Encoder.
ContentType
;
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
521
SR.ContentTypeMismatch, decoder.ContentType, this.MessageEncoder.
ContentType
)));
1582
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(FaultStringDecoder.GetFaultException(decoder.Fault, channel.RemoteAddress.Uri.ToString(), messageEncoder.
ContentType
));
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
397
SR.ContentTypeMismatch, Decoder.ContentType, parent.transportSettings.MessageEncoderFactory.Encoder.
ContentType
)));
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (5)
58
EncodedContentType encodedContentType = EncodedContentType.Create(settings.MessageEncoderFactory.Encoder.
ContentType
);
102
ConnectionUpgradeHelper.DecodeFramingFault(decoder, connection, Via, messageEncoder.
ContentType
, ref timeoutHelper);
125
ConnectionUpgradeHelper.DecodeFramingFault(decoder, connection, Via, messageEncoder.
ContentType
, ref timeoutHelper);
262
connection, decoder, this.upgradeInitiator, channel.messageEncoder.
ContentType
, null,
326
connection, channel.Via, channel.messageEncoder.
ContentType
, ref timeoutHelper,