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