Export (0) Print
Expand All
Expand Minimize

ReadEntityBodyMode Enumeration

.NET Framework 4.5

Specifies constants that indicate how the entity body of an HTTP request has been read.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public enum ReadEntityBodyMode

Member nameDescription
BufferedThe entity body has been read into a Stream object by using the GetBufferedInputStream method.
BufferlessThe entity body has been read into a Stream object by using the GetBufferlessInputStream method.
ClassicThe entity body has already been read and its contents have been put into HTTP request collections like Form, Files, InputStream, and BinaryRead.

Classic mode applies when ASP.NET pipeline processing has already occurred. For example, running an ASP.NET page or accessing a property in one of the HTTP request collections causes the entity body to be read, and the entity body contents are then put into the appropriate collection.

NoneThe entity body has not been read.

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft