Export (0) Print
Expand All

HttpRequest.InsertEntityBody Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method InsertEntityBody() Provides IIS with a copy of the HTTP request entity body.
Public method InsertEntityBody(Byte[], Int32, Int32) Provides IIS with a copy of the HTTP request entity body and with information about the request entity object.
Top

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 Note

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

Show:
© 2014 Microsoft