OutputCache.Deserialize Method (Stream)
.NET Framework (current version)
Deserializes a binary object into output-cache data.
Assembly: System.Web (in System.Web.dll)
[SecurityPermissionAttribute(SecurityAction.Assert, Flags = SecurityPermissionFlag.SerializationFormatter)] public static object Deserialize( Stream stream )
Parameters
- stream
-
Type:
System.IO.Stream
The data to deserialize.
| Exception | Condition |
|---|---|
| ArgumentException | The deserialized object that is returned by the method is not a valid output-cache type. |
| ArgumentNullException | stream is null. |
This method is used by output-cache providers that are operating under partial trust.
.NET Framework
Available since 4.0
Available since 4.0
Show: