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.