DataCacheException Class

 

Used for cache-related exceptions.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.ApplicationServer.Caching.DataCacheException

Syntax

[SerializableAttribute]
public class DataCacheException : Exception, ISerializable
[SerializableAttribute]
public ref class DataCacheException : Exception, ISerializable
[<SerializableAttribute>]
type DataCacheException = 
    class
        inherit Exception
        interface ISerializable
    end
<SerializableAttribute>
Public Class DataCacheException
    Inherits Exception
    Implements ISerializable

Constructors

Name Description
System_CAPS_pubmethod DataCacheException()

Initializes a new instance of the DataCacheException class.

System_CAPS_protmethod DataCacheException(SerializationInfo, StreamingContext)

Initializes a new instance of the DataCacheException class; allows you to provide serialization information with the exception.

System_CAPS_pubmethod DataCacheException(String)

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

System_CAPS_pubmethod DataCacheException(String, Exception)

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

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty ErrorCode

The integer used to identify the type of exception encountered.

System_CAPS_pubproperty HelpLink

A link to help for the exception.(Overrides Exception.HelpLink.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

The description of the exception encountered.(Overrides Exception.Message.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty SubStatus

The T:Microsoft.ApplicationServer.Caching.DataCacheErrorSubstatus of the exception encountered.

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

System_CAPS_pubproperty TrackingId

The tracking identifier related to the exception. Only valid if tracing is enabled.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

The interface that is used for serialization.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Events

Name Description
System_CAPS_protevent SerializeObjectState

(Inherited from Exception.)

Remarks

The ErrorCode property is an integer that corresponds to one of the error code constants in the DataCacheErrorCode class. The SubStatus property is an integer that corresponds to one of the sub-status constants in the DataCacheErrorSubStatus class. For more information on how to handle exceptions, see .f03e9369-ca4e-4fd1-a617-b140ad827903

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ApplicationServer.Caching Namespace

Return to top