Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebBodyFormatMessageProperty Class

Stores and retrieves the message encoding format of incoming and outgoing messages for the composite Web message encoder.


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

public sealed class WebBodyFormatMessageProperty : IMessageProperty

The WebBodyFormatMessageProperty type exposes the following members.

Public methodWebBodyFormatMessagePropertyInitializes a new instance of the WebBodyFormatMessageProperty class with a specified format.

Public propertyFormatGets the format used for the message body.

Public methodCreateCopyReturns the current instance of the current property.
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 the name of the property and the encoding format used when constructed. (Overrides Object.ToString().)

Public fieldStatic memberNameReturns the name of the property.

This property allows, for example, the composite Web message formatter to know how the composite Web message encoder has encoded the message. WebBodyFormatMessageProperty implements IMessageProperty. Objects that implement this interface are added by value to Properties with the Name providing the access key.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft