Bewerken

Share via


ReadEntityBodyMode Enum

Definition

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

public enum class ReadEntityBodyMode
public enum ReadEntityBodyMode
type ReadEntityBodyMode = 
Public Enum ReadEntityBodyMode
Inheritance
ReadEntityBodyMode

Fields

Name Value Description
None 0

The entity body has not been read.

Classic 1

The entity body has already been read and its contents have been put into HTTP request collections like Form, Files, InputStream, and BinaryRead(Int32).

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.

Bufferless 2

The entity body has been read into a Stream object by using the GetBufferlessInputStream() method.

Buffered 3

The entity body has been read into a Stream object by using the GetBufferedInputStream() method.

Applies to