HttpRequestMessageProperty.SuppressEntityBody Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that indicates whether the body of the message is ignored and only the headers are sent.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.Booleantrue if the message body is suppressed; otherwise, false. The default is false.
This property is used for empty message requests: for example, a service that accepts a GET request without a message body. In this case, when building the HttpRequestMessageProperty object for the response message, set the SuppressEntityBody property to true.