HttpWorkerRequest.GetPreloadedEntityBody 方法

定义

已重载。Overloaded. 返回 HTTP 请求正文当前已被读取的部分。Returns the portion of the HTTP request body that has currently been read.

重载

GetPreloadedEntityBody(Byte[], Int32)

获取当前已通过指定的缓冲区数据和字节偏移读取的 HTTP 请求正文部分。Gets the portion of the HTTP request body that has currently been read by using the specified buffer data and byte offset.

GetPreloadedEntityBody()

返回已读取的 HTTP 请求正文部分。Returns the portion of the HTTP request body that has already been read.

GetPreloadedEntityBody(Byte[], Int32)

获取当前已通过指定的缓冲区数据和字节偏移读取的 HTTP 请求正文部分。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

参数

buffer
Byte[]

要读取的数据。The data to read.

offset
Int32

开始读取的字节偏移位置。The byte offset at which to begin reading.

返回

已读取的 HTTP 请求正文部分。The portion of the HTTP request body that has been read.

GetPreloadedEntityBody()

返回已读取的 HTTP 请求正文部分。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()

返回

Byte[]

已读取的 HTTP 请求正文部分。The portion of the HTTP request body that has been read.

适用于