OutgoingWebRequestContext.SuppressEntityBody Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Property SuppressEntityBody As Boolean
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.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.