Redigera

Dela via


WebBodyFormatMessageProperty(WebContentFormat) Constructor

Definition

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

public:
 WebBodyFormatMessageProperty(System::ServiceModel::Channels::WebContentFormat format);
public WebBodyFormatMessageProperty (System.ServiceModel.Channels.WebContentFormat format);
new System.ServiceModel.Channels.WebBodyFormatMessageProperty : System.ServiceModel.Channels.WebContentFormat -> System.ServiceModel.Channels.WebBodyFormatMessageProperty
Public Sub New (format As WebContentFormat)

Parameters

format
WebContentFormat

The WebContentFormat of the message body.

Exceptions

The format cannot be set to the Default value in the constructor.

Applies to