OutgoingWebResponseContext.SuppressEntityBody Property

Definition

Gets or sets 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.

public bool SuppressEntityBody { get; set; }

Property Value

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. The default value is false.

Applies to

Produkt Wersje
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1