读取客户端的请求数据(在尚未预加载时)。
命名空间:System.Web
程序集:System.Web(在 system.web.dll 中)
Public Overridable Function ReadEntityBody ( _
buffer As Byte(), _
size As Integer _
) As Integer
Dim instance As HttpWorkerRequest
Dim buffer As Byte()
Dim size As Integer
Dim returnValue As Integer
returnValue = instance.ReadEntityBody(buffer, size)
public virtual int ReadEntityBody (
byte[] buffer,
int size
)
public:
virtual int ReadEntityBody (
array<unsigned char>^ buffer,
int size
)
public int ReadEntityBody (
byte[] buffer,
int size
)
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