แก้ไข

แชร์ผ่าน


HttpRequestBase.InsertEntityBody Method

Definition

When implemented in a derived class, provides a managed wrapper for the IIS method that inserts an HTTP request entity body into memory.

Overloads

InsertEntityBody()

When implemented in a derived class, provides a copy of the HTTP request entity body to IIS.

InsertEntityBody(Byte[], Int32, Int32)

When implemented in a derived class, provides IIS with a copy of the HTTP request entity body and with information about the request entity object.

InsertEntityBody()

When implemented in a derived class, provides a copy of the HTTP request entity body to IIS.

public:
 virtual void InsertEntityBody();
public virtual void InsertEntityBody ();
abstract member InsertEntityBody : unit -> unit
override this.InsertEntityBody : unit -> unit
Public Overridable Sub InsertEntityBody ()

Applies to

InsertEntityBody(Byte[], Int32, Int32)

When implemented in a derived class, provides IIS with a copy of the HTTP request entity body and with information about the request entity object.

public:
 virtual void InsertEntityBody(cli::array <System::Byte> ^ buffer, int offset, int count);
public virtual void InsertEntityBody (byte[] buffer, int offset, int count);
abstract member InsertEntityBody : byte[] * int * int -> unit
override this.InsertEntityBody : byte[] * int * int -> unit
Public Overridable Sub InsertEntityBody (buffer As Byte(), offset As Integer, count As Integer)

Parameters

buffer
Byte[]

An array that contains the request entity data.

offset
Int32

The zero-based position in buffer at which to begin storing the request entity data.

count
Int32

The number of bytes to read into the buffer array.

Applies to