OutputCache.Serialize(Stream, Object) 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.
Serializes output-cache data into binary data.
public:
static void Serialize(System::IO::Stream ^ stream, System::Object ^ data);
public static void Serialize (System.IO.Stream stream, object data);
static member Serialize : System.IO.Stream * obj -> unit
Public Shared Sub Serialize (stream As Stream, data As Object)
Parameters
- stream
- Stream
The object to contain the serialized binary data.
- data
- Object
The output-cache data to serialize.
Exceptions
data
is not one of the specified output-cache types.
data
is null
or stream
is null
.
Remarks
This method is used by output-cache providers that are operating under partial trust.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.