Share via


DataCacheException Constructor (String, Exception)

Initializes a new instance of the DataCacheException class; allows you to provide a message and another exception with the exception.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New DataCacheException(message, innerException)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public DataCacheException (
    string message,
    Exception innerException
)
public:
DataCacheException (
    String^ message, 
    Exception^ innerException
)
public DataCacheException (
    String message, 
    Exception innerException
)
public function DataCacheException (
    message : String, 
    innerException : Exception
)

Parameters

  • message
    The message describing the exception.
  • innerException
    Another exception related to this exception.

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