Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ReadEntityBodyMode Enumeration

.NET Framework 4.6 and 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
© 2015 Microsoft