HttpWorkerRequest.GetPreloadedEntityBody Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The portion of the HTTP request body that has been read.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈