.NET Framework 类库
HttpWorkerRequest.ReadEntityBody 方法 (Byte[], Int32)

读取客户端的请求数据(在尚未预加载时)。

命名空间:System.Web
程序集:System.Web(在 system.web.dll 中)

语法

Visual Basic(声明)
Public Overridable Function ReadEntityBody ( _
    buffer As Byte(), _
    size As Integer _
) As Integer
Visual Basic(用法)
Dim instance As HttpWorkerRequest
Dim buffer As Byte()
Dim size As Integer
Dim returnValue As Integer

returnValue = instance.ReadEntityBody(buffer, size)
C#
public virtual int ReadEntityBody (
    byte[] buffer,
    int size
)
C++
public:
virtual int ReadEntityBody (
    array<unsigned char>^ buffer, 
    int size
)
J#
public int ReadEntityBody (
    byte[] buffer, 
    int size
)
JScript
public function ReadEntityBody (
    buffer : byte[], 
    size : int
) : int

参数

buffer

将数据读入的字节数组。

size

最多读取的字节数。

返回值

读取的字节数。
平台

Windows 98、Windows 2000 SP4、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0
请参见

标记 :


Page view tracker