SendResponseFromMemory Method
This documentation is archived and is not being maintained.

SimpleWorkerRequest.SendResponseFromMemory Method

Adds the contents of a memory block to the response.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method SendResponseFromMemory(IntPtr, Int32) Adds the specified number of bytes from a block of memory to the response. (Inherited from HttpWorkerRequest.)
Public method SendResponseFromMemory(Byte[], Int32) Adds the contents of a byte array to the response and specifies the number of bytes to send. (Overrides HttpWorkerRequest.SendResponseFromMemory(Byte[], Int32).)
© 2016 Microsoft