OutputCache.Serialize(Stream, Object) Method
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)
- stream
- Stream
The object to contain the serialized binary data.
- data
- Object
The output-cache data to serialize.
data
is not one of the specified output-cache types.
data
is null
or stream
is null
.
This method is used by output-cache providers that are operating under partial trust.
Proizvod | Verzije |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: