OutgoingWebRequestContext.SuppressEntityBody Property

Gets a value that indicates whether Windows Communication Foundation (WCF) omits data that is normally written to the entity body of the response and forces an empty response to be returned.

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

public bool SuppressEntityBody { get; set; }

Property Value

Type: System.Boolean
If true, WCF omits any data that is normally written to the entity body of the response and forces an empty response to be returned.

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: