HttpRequest::InsertEntityBody Method ()
.NET Framework (current version)
Provides IIS with a copy of the HTTP request entity body.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| PlatformNotSupportedException | The method was invoked on a version of IIS earlier than IIS 7.0. |
IIS does not maintain a copy of the request after it has been read. Therefore, it is recommended that only the handler for an HTTP request should read the request entity.
The HttpRequest::InsertEntityBody method overload provides IIS with a copy of the request entity if it was previously read by ASP.NET. This method overload is useful for cases where ASP.NET has read the entity request and you want to reuse the existing request data.
.NET Framework
Available since 4.0
Available since 4.0
Show: