36 references to NetHttpMessageEncoding
System.ServiceModel (36)
System\ServiceModel\Channels\TransportDefaults.cs (2)
521
internal const
NetHttpMessageEncoding
MessageEncoding =
NetHttpMessageEncoding
.Binary;
System\ServiceModel\Configuration\NetHttpBindingElement.cs (2)
30
public
NetHttpMessageEncoding
MessageEncoding
32
get { return (
NetHttpMessageEncoding
)base[ConfigurationStrings.MessageEncoding]; }
System\ServiceModel\Configuration\NetHttpsBindingElement.cs (2)
30
public
NetHttpMessageEncoding
MessageEncoding
32
get { return (
NetHttpMessageEncoding
)base[ConfigurationStrings.MessageEncoding]; }
System\ServiceModel\Configuration\Properties.cs (4)
2156
properties.Add(new ConfigurationProperty("messageEncoding", typeof(System.ServiceModel.
NetHttpMessageEncoding
), System.ServiceModel.
NetHttpMessageEncoding
.Binary, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.NetHttpMessageEncodingHelper)), System.Configuration.ConfigurationPropertyOptions.None));
2183
properties.Add(new ConfigurationProperty("messageEncoding", typeof(System.ServiceModel.
NetHttpMessageEncoding
), System.ServiceModel.
NetHttpMessageEncoding
.Binary, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.NetHttpMessageEncodingHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\NetHttpBinding.cs (11)
21
NetHttpMessageEncoding
messageEncoding;
56
[DefaultValue(
NetHttpMessageEncoding
.Binary)]
57
public
NetHttpMessageEncoding
MessageEncoding
151
case
NetHttpMessageEncoding
.Text:
154
case
NetHttpMessageEncoding
.Mtom:
288
if ((this.MessageEncoding ==
NetHttpMessageEncoding
.Mtom) && UnsafeNativeMethods.IsTailoredApplication.Value)
312
this.messageEncoding =
NetHttpMessageEncoding
.Binary;
319
this.messageEncoding =
NetHttpMessageEncoding
.Text;
323
this.messageEncoding =
NetHttpMessageEncoding
.Mtom;
367
case
NetHttpMessageEncoding
.Text:
374
case
NetHttpMessageEncoding
.Mtom:
System\ServiceModel\NetHttpMessageEncodingHelper.cs (4)
9
internal static bool IsDefined(
NetHttpMessageEncoding
value)
12
value ==
NetHttpMessageEncoding
.Binary
13
|| value ==
NetHttpMessageEncoding
.Text
14
|| value ==
NetHttpMessageEncoding
.Mtom;
System\ServiceModel\NetHttpsBinding.cs (11)
20
NetHttpMessageEncoding
messageEncoding;
49
[DefaultValue(
NetHttpMessageEncoding
.Binary)]
50
public
NetHttpMessageEncoding
MessageEncoding
144
case
NetHttpMessageEncoding
.Text:
147
case
NetHttpMessageEncoding
.Mtom:
190
if ((this.MessageEncoding ==
NetHttpMessageEncoding
.Mtom) && UnsafeNativeMethods.IsTailoredApplication.Value)
214
this.messageEncoding =
NetHttpMessageEncoding
.Binary;
221
this.messageEncoding =
NetHttpMessageEncoding
.Text;
225
this.messageEncoding =
NetHttpMessageEncoding
.Mtom;
252
case
NetHttpMessageEncoding
.Text:
259
case
NetHttpMessageEncoding
.Mtom: