InsertEntityBody Method

HttpRequest.InsertEntityBody Method

.NET Framework (current version)
 

Provides a managed wrapper for the IIS method that inserts an HTTP request entity body into memory.

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

NameDescription
System_CAPS_pubmethodInsertEntityBody()

Provides IIS with a copy of the HTTP request entity body.

System_CAPS_pubmethodInsertEntityBody(Byte[], Int32, Int32)

Provides IIS with a copy of the HTTP request entity body and with information about the request entity object.

The InsertEntityBody method overloads provide managed access to the IIS 7 IHttpRequest::InsertEntityBody method. The IIS method inserts an HTTP request entity body (the data that is posted by a client) into memory. This is useful because IIS does not maintain a copy of the request entity after it has been read. The InsertEntityBody methods create a copy of the HTTP request entity data and make it available to IIS for additional custom handling.

System_CAPS_noteNote

The InsertEntityBody method overloads work only on IIS 7.0 or later, because the IHttpRequest::InsertEntityBody method was added in IIS 7.0.

Return to top
Show:
© 2016 Microsoft