MemoryResponseElement(Byte[], Int64) Constructor
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.
Initializes a new instance of the MemoryResponseElement class.
public:
MemoryResponseElement(cli::array <System::Byte> ^ buffer, long length);
public MemoryResponseElement (byte[] buffer, long length);
new System.Web.Caching.MemoryResponseElement : byte[] * int64 -> System.Web.Caching.MemoryResponseElement
Public Sub New (buffer As Byte(), length As Long)
Parameters
- buffer
- Byte[]
An array of bytes that contains a part of an output-cache response.
- length
- Int64
The size of the array in buffer
.
Exceptions
buffer
is null
.
length
is less than zero or greater than the size of buffer
.
Remarks
The value of buffer
must not be null
, although it can be a zero-length array.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.