MemoryResponseElement Constructor (array<Byte>^, Int64)

.NET Framework (current version)
 

Initializes a new instance of the MemoryResponseElement class.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

public:
MemoryResponseElement(
	array<unsigned char>^ buffer,
	long long length
)

Parameters

buffer
Type: array<System::Byte>^

An array of bytes that contains a part of an output-cache response.

length
Type: System::Int64

The size of the array in buffer.

Exception Condition
ArgumentNullException

buffer is null.

ArgumentOutOfRangeException

length is less than zero or greater than the size of buffer.

The value of buffer must not be null, although it can be a zero-length array.

.NET Framework
Available since 4.0
Return to top
Show: