HttpWorkerRequest.SendResponseFromMemory 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.
Adds the contents of a memory block to the response.
Overloads
SendResponseFromMemory(Byte[], Int32) |
Adds the specified number of bytes from a byte array to the response. |
SendResponseFromMemory(IntPtr, Int32) |
Adds the specified number of bytes from a block of memory to the response. |
SendResponseFromMemory(Byte[], Int32)
Adds the specified number of bytes from a byte array to the response.
public:
abstract void SendResponseFromMemory(cli::array <System::Byte> ^ data, int length);
public abstract void SendResponseFromMemory (byte[] data, int length);
abstract member SendResponseFromMemory : byte[] * int -> unit
Public MustOverride Sub SendResponseFromMemory (data As Byte(), length As Integer)
Parameters
- data
- Byte[]
The byte array to send.
- length
- Int32
The number of bytes to send, starting at the first byte.
Applies to
SendResponseFromMemory(IntPtr, Int32)
Adds the specified number of bytes from a block of memory to the response.
public:
virtual void SendResponseFromMemory(IntPtr data, int length);
public virtual void SendResponseFromMemory (IntPtr data, int length);
abstract member SendResponseFromMemory : nativeint * int -> unit
override this.SendResponseFromMemory : nativeint * int -> unit
Public Overridable Sub SendResponseFromMemory (data As IntPtr, length As Integer)
Parameters
- data
-
IntPtr
nativeint
An unmanaged pointer to the block of memory.
- length
- Int32
The number of bytes to send.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기