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.

System.Object
  System.ServiceModel.Channels.WebBodyFormatMessageProperty

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.

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

  NameDescription
Public propertyFormatGets the format used for the message body.
Top

  NameDescription
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().)
Top

  NameDescription
Public fieldStatic memberNameReturns the name of the property.
Top

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.
Show:
© 2015 Microsoft