WebBodyFormatMessageProperty Class

Definition

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
Inheritance
WebBodyFormatMessageProperty
Implements

Remarks

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.

Constructors

WebBodyFormatMessageProperty(WebContentFormat)

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

Fields

Name

Returns the name of the property.

Properties

Format

Gets the format used for the message body.

Methods

CreateCopy()

Returns the current instance of the current property.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

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

Applies to