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 (in System.ServiceModel.Web.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.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: