Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InsertEntityBody Method

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.

  NameDescription
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.

NoteNote

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

Community Additions

ADD
Show:
© 2015 Microsoft