HttpWorkerRequest.GetPreloadedEntityBody Method

Definition

Overloaded. Returns the portion of the HTTP request body that has currently been read.

Overloads

GetPreloadedEntityBody(Byte[], Int32)

Gets the portion of the HTTP request body that has currently been read by using the specified buffer data and byte offset.

GetPreloadedEntityBody()

Returns the portion of the HTTP request body that has already been read.

GetPreloadedEntityBody(Byte[], Int32)

Gets the portion of the HTTP request body that has currently been read by using the specified buffer data and byte offset.

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

Parameters

buffer
Byte[]

The data to read.

offset
Int32

The byte offset at which to begin reading.

Returns

The portion of the HTTP request body that has been read.

Applies to

GetPreloadedEntityBody()

Returns the portion of the HTTP request body that has already been read.

public:
 virtual cli::array <System::Byte> ^ GetPreloadedEntityBody();
public virtual byte[] GetPreloadedEntityBody ();
abstract member GetPreloadedEntityBody : unit -> byte[]
override this.GetPreloadedEntityBody : unit -> byte[]
Public Overridable Function GetPreloadedEntityBody () As Byte()

Returns

Byte[]

The portion of the HTTP request body that has been read.

Applies to