DataCacheException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the DataCacheException class; allows you to provide serialization information with the exception.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)
Usage
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New DataCacheException(info, context)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected DataCacheException (
SerializationInfo info,
StreamingContext context
)
protected:
DataCacheException (
SerializationInfo^ info,
StreamingContext context
)
protected DataCacheException (
SerializationInfo info,
StreamingContext context
)
protected function DataCacheException (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Stores serialization information about an object.
- context
Describes the source, destination, and context of a serialized stream.
Platforms
Development Platforms
Visual Studio 2010 and later, .NET Framework 4
Target Platforms
Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
See Also
Reference
DataCacheException Class
DataCacheException Members
Microsoft.ApplicationServer.Caching Namespace
ff425062(v=azure.10).md 2011-08-26