OutputCache::Deserialize Method (Stream^)
.NET Framework (current version)
Deserializes a binary object into output-cache data.
Assembly: System.Web (in System.Web.dll)
public: [SecurityPermissionAttribute(SecurityAction::Assert, Flags = SecurityPermissionFlag::SerializationFormatter)] 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: