HttpMessageSettings Class

.NET Framework 4.6 and 4.5

A binding parameter that can be used with the HTTP Transport to specify the setting for HttpMessage support.


Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public sealed class HttpMessageSettings : IEquatable<HttpMessageSettings>

The HttpMessageSettings type exposes the following members.

Public methodHttpMessageSettingsInitializes a new instance of the HttpMessageSettings class.

Public propertyHttpMessagesSupported Gets or sets a value indicating whether the HTTP transport should support HttpRequestMessage and HttpResponseMessage instances.

Public methodEquals(HttpMessageSettings)Determines whether the specified Object is equal to the current Object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft