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)

System.Object
  System.ServiceModel.Channels.WebBodyFormatMessageProperty

public sealed class WebBodyFormatMessageProperty : IMessageProperty

NameDescription
System_CAPS_pubmethodWebBodyFormatMessageProperty(WebContentFormat)

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

NameDescription
System_CAPS_pubpropertyFormat

Gets the format used for the message body.

NameDescription
System_CAPS_pubmethodCreateCopy()

Returns the current instance of the current property.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the name of the property and the encoding format used when constructed.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticName

Returns 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
Available since 3.5
Silverlight
Available since 4.0

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

Return to top
Show: