MemoryResponseElement(Byte[], Int64) Konstruktor

Definice

Inicializuje novou instanci MemoryResponseElement třídy.

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)

Parametry

buffer
Byte[]

Pole bajtů, které obsahuje část odpovědi výstupní mezipaměti.

length
Int64

Velikost pole v .buffer

Výjimky

buffer je null.

length je menší než nula nebo větší než velikost buffer.

Poznámky

Hodnota buffer nesmí být null, i když může být pole nulové délky.

Platí pro