WebGetAttribute.BodyStyle Property

Gets and sets the body style of the messages that are sent to and from an operation.

Namespace:  System.ServiceModel.Web
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

public WebMessageBodyStyle BodyStyle { get; set; }

Property Value

Type: System.ServiceModel.Web.WebMessageBodyStyle
One of the WebMessageBodyStyle enumeration values.

When set to Bare, the result of an operation is written directly to the body of the response message.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: