WebBodyFormatMessageProperty(WebContentFormat) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.