HttpRequest.ReadEntityBodyMode Property

Definition

Gets a value that indicates whether the request entity body has been read, and if so, how it was read.

C#
public System.Web.ReadEntityBodyMode ReadEntityBodyMode { get; }

Property Value

The value that indicates how the request entity body was read, or that it has not been read.

Remarks

This method is used to avoid the exception that is thrown if the entity body has already been read and an attempt is made to read it by using an incompatible method. Methods and properties that read the entity body include the following:

Applies to

Product Versions
.NET Framework 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