WebBodyFormatMessageProperty WebBodyFormatMessageProperty WebBodyFormatMessageProperty WebBodyFormatMessageProperty Class


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

public ref class WebBodyFormatMessageProperty sealed : System::ServiceModel::Channels::IMessageProperty
public sealed class WebBodyFormatMessageProperty : System.ServiceModel.Channels.IMessageProperty
type WebBodyFormatMessageProperty = class
    interface IMessageProperty
Public NotInheritable Class WebBodyFormatMessageProperty
Implements IMessageProperty


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.


WebBodyFormatMessageProperty(WebContentFormat) WebBodyFormatMessageProperty(WebContentFormat) WebBodyFormatMessageProperty(WebContentFormat) WebBodyFormatMessageProperty(WebContentFormat)

Initializes a new instance of the WebBodyFormatMessageProperty class with a specified format.


Name Name Name Name

Returns the name of the property.


Format Format Format Format

Gets the format used for the message body.


CreateCopy() CreateCopy() CreateCopy() CreateCopy()

Returns the current instance of the current property.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the name of the property and the encoding format used when constructed.

Applies to