WebHttpBehavior::DefaultBodyStyle Property
.NET Framework (current version)
Gets and sets the default message body style.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
public: property WebMessageBodyStyle DefaultBodyStyle { virtual WebMessageBodyStyle get(); virtual void set(WebMessageBodyStyle value); }
Property Value
Type: System.ServiceModel.Web::WebMessageBodyStyleOne of the values defined in the WebMessageBodyStyle enumeration.
If the WebGetAttribute or WebInvokeAttribute does not explicitly set the BodyStyle property, the value of this property is used as the body style for the operation. The default value is Bare.
.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Available since 3.5
Silverlight
Available since 4.0
Show: