77 references to None
System.Data.Services (1)
System\Data\Services\DataService.cs (1)
372
Message result = CreateMessage(MessageVersion.
None
, "", ((IDataServiceHost)httpHost).ResponseContentType, writer, this);
System.ServiceModel (35)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
252
if (this.channelFactory.MessageVersion != MessageVersion.
None
)
System\ServiceModel\Channels\ContentOnlyMessage.cs (1)
22
this.headers = new MessageHeaders(MessageVersion.
None
);
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (1)
35
if (messageVersion != MessageVersion.
None
)
System\ServiceModel\Channels\HttpChannelHelpers.cs (5)
504
if (this.messageEncoder.MessageVersion == MessageVersion.
None
)
662
if (httpInput.messageEncoder.MessageVersion == MessageVersion.
None
)
1256
if (message.Version == MessageVersion.
None
&& httpResponseMessagePropertyFound && !string.IsNullOrEmpty(responseProperty.Headers[HttpResponseHeader.ContentType]))
1387
if (message.Version == MessageVersion.
None
)
3891
if (factory.MessageEncoderFactory.MessageVersion == MessageVersion.
None
)
System\ServiceModel\Channels\HttpChannelListener.cs (2)
123
if (this.httpMessageSettings.HttpMessagesSupported && this.MessageVersion != MessageVersion.
None
)
134
MessageVersion.
None
.ToString())));
System\ServiceModel\Channels\Message.cs (1)
1655
if (this.Version == MessageVersion.
None
)
System\ServiceModel\Channels\MessageBuffer.cs (1)
100
if (version == MessageVersion.
None
)
System\ServiceModel\Channels\MessageHeader.cs (1)
84
WriteHeader(writer, MessageVersion.
None
);
System\ServiceModel\Channels\MsmqDecodeHelper.cs (1)
360
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null);
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (2)
34
if (messageVersion == MessageVersion.
None
)
153
if (value == MessageVersion.
None
)
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
206
if (response.Version == MessageVersion.
None
&& response is NullMessage)
System\ServiceModel\Channels\TextMessageEncoder.cs (2)
21
internal static ContentEncoding[] SoapNoneContent = GetContentEncodingMap(MessageVersion.
None
);
377
if (MessageVersion == MessageVersion.
None
)
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
58
this.messageVersion = MessageVersion.
None
;
System\ServiceModel\Channels\TransportChannelListener.cs (1)
92
this.messageVersion = MessageVersion.
None
;
System\ServiceModel\Configuration\MessageVersionConverter.cs (2)
61
retval = MessageVersion.
None
;
109
else if (messageVersion == MessageVersion.
None
)
System\ServiceModel\Description\MetadataExchangeBindings.cs (1)
189
textEncoding.MessageVersion = MessageVersion.
None
;
System\ServiceModel\Description\ServiceDebugBehavior.cs (4)
90
if (textMessageEncodingBindingElement != null && !textMessageEncodingBindingElement.MessageVersion.IsMatch(MessageVersion.
None
))
93
textMessageEncodingBindingElement.MessageVersion.ToString(), MessageVersion.
None
.ToString()));
119
if (textMessageEncodingBindingElement != null && !textMessageEncodingBindingElement.MessageVersion.IsMatch(MessageVersion.
None
))
122
textMessageEncodingBindingElement.MessageVersion.ToString(), MessageVersion.
None
.ToString()));
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
95
if (textMessageEncodingBindingElement != null && !textMessageEncodingBindingElement.MessageVersion.IsMatch(MessageVersion.
None
))
98
textMessageEncodingBindingElement.MessageVersion.ToString(), MessageVersion.
None
.ToString()));
124
if (textMessageEncodingBindingElement != null && !textMessageEncodingBindingElement.MessageVersion.IsMatch(MessageVersion.
None
))
127
textMessageEncodingBindingElement.MessageVersion.ToString(), MessageVersion.
None
.ToString()));
System\ServiceModel\Dispatcher\ClientRuntime.cs (2)
465
if (message.Version != MessageVersion.
None
|| message.IsEmpty)
482
return reader.IsStartElement(XD.MessageDictionary.Fault, MessageVersion.
None
.Envelope.DictionaryNamespace);
System\ServiceModel\MsmqIntegration\MsmqIntegrationBindingElement.cs (1)
136
return (T)(object)(MessageVersion.
None
);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\ToReply.cs (1)
263
version = MessageVersion.
None
;
System.ServiceModel.Channels (9)
System\ServiceModel\Channels\ByteStreamMessage.cs (5)
109
this.headers = new MessageHeaders(MessageVersion.
None
);
124
this.headers = new MessageHeaders(MessageVersion.
None
);
141
this.headers = new MessageHeaders(MessageVersion.
None
);
158
this.headers = new MessageHeaders(MessageVersion.
None
);
229
return MessageVersion.
None
;
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (1)
58
get { return MessageVersion.
None
; }
System\ServiceModel\Channels\ByteStreamMessageEncodingBindingElement.cs (2)
40
return MessageVersion.
None
;
44
if (value != MessageVersion.
None
)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
123
messageHeaders.MessageVersion == MessageVersion.
None
&&
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
117
if (this.Message.Version != MessageVersion.
None
&&
System.ServiceModel.Web (30)
System\ServiceModel\Channels\HttpStreamMessage.cs (2)
29
this.headers = new MessageHeaders(MessageVersion.
None
, 1);
92
return MessageVersion.
None
;
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (2)
127
get { return MessageVersion.
None
; }
217
Message message = Message.CreateMessage(reader, maxSizeOfHeaders, MessageVersion.
None
);
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (2)
101
get { return MessageVersion.
None
; }
151
textMessageEncoder = new TextMessageEncoderFactory(MessageVersion.
None
, writeEncoding, maxReadPoolSize, maxWritePoolSize, readerQuotas).Encoder;
System\ServiceModel\Channels\WebMessageEncodingBindingElement.cs (2)
104
return MessageVersion.
None
;
113
if (value != MessageVersion.
None
)
System\ServiceModel\Channels\WebScriptMetadataMessage.cs (1)
24
public WebScriptMetadataMessage(string action, string proxyContent) : base(MessageVersion.
None
, action, new WebScriptMetadataBodyWriter(proxyContent))
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (2)
47
this.innerReadMessageEncoder = new TextMessageEncodingBindingElement(MessageVersion.
None
, Encoding.UTF8).CreateMessageEncoderFactory().Encoder;
62
get { return MessageVersion.
None
; }
System\ServiceModel\Channels\WebScriptMetadataMessageEncodingBindingElement.cs (2)
32
return MessageVersion.
None
;
40
if (value != MessageVersion.
None
)
System\ServiceModel\Description\WebHttpBehavior.cs (1)
460
if (binding.MessageVersion != MessageVersion.
None
)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
74
Message responseMessage = Message.CreateMessage(MessageVersion.
None
, string.Empty);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
316
metadataChannelDispatcher.MessageVersion = MessageVersion.
None
;
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (1)
78
result = Message.CreateMessage(MessageVersion.
None
, (string) null);
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
41
if (version != MessageVersion.
None
|| error == null)
System\ServiceModel\Dispatcher\XmlFormatMapping.cs (1)
47
XmlFormatMapping.encoders[this.writeEncoding] = new TextMessageEncoderFactory(MessageVersion.
None
, this.writeEncoding, 0, 0, new XmlDictionaryReaderQuotas()).Encoder;
System\ServiceModel\Web\CachingParameterInspector.cs (1)
89
OperationContext.Current.IncomingMessage.Version == MessageVersion.
None
)
System\ServiceModel\Web\WebOperationContext.cs (9)
106
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, instance, serializer);
124
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, instance, serializer);
136
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, new XmlSerializerBodyWriter(instance, serializer));
152
message = Message.CreateMessage(MessageVersion.
None
, (string)null);
156
message = Message.CreateMessage(MessageVersion.
None
, (string)null, document.CreateReader());
170
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, element.CreateReader());
182
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, item.GetAtom10Formatter());
194
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, feed.GetAtom10Formatter());
206
Message message = Message.CreateMessage(MessageVersion.
None
, (string)null, document.GetFormatter());
System\ServiceModel\WebHttpBinding.cs (1)
273
webMessageEncodingBindingElement.MessageVersion = MessageVersion.
None
;