HttpRequest::InsertEntityBody Method
Provides a managed wrapper for the IIS method that inserts an HTTP request entity body into memory.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | InsertEntityBody() | Provides IIS with a copy of the HTTP request entity body. |
![]() | InsertEntityBody(array<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.
Note |
|---|
The InsertEntityBody method overloads work only on IIS 7.0 or later, because the IHttpRequest::InsertEntityBody method was added in IIS 7.0. |

