WebHttpElement.DefaultBodyStyle Property

.NET Framework (current version)
 

Gets and sets the default message body style.

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

[ConfigurationPropertyAttribute("defaultBodyStyle")]
public WebMessageBodyStyle DefaultBodyStyle { get; set; }

Property Value

Type: System.ServiceModel.Web.WebMessageBodyStyle

One of the values defined in the WebMessageBodyStyle enumeration.

.NET Framework
Available since 4.0
Return to top
Show: