WebGetAttribute::BodyStyle Property
.NET Framework (current version)
Gets and sets the body style of the messages that are sent to and from the service operation.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
public: property WebMessageBodyStyle BodyStyle { WebMessageBodyStyle get(); void set(WebMessageBodyStyle value); }
Property Value
Type: System.ServiceModel.Web::WebMessageBodyStyleOne of the WebMessageBodyStyle enumeration values.
When set to Bare, the result of the service operation is written directly to the body of the response message.
.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Available since 3.5
Silverlight
Available since 4.0
Show: