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 | |
---|---|---|
DataCacheException() | Initializes a new instance of the DataCacheException class. |
|
DataCacheException(SerializationInfo, StreamingContext) | Initializes a new instance of the DataCacheException class; allows you to provide serialization information with the exception. |
|
DataCacheException(String) | Initializes a new instance of the DataCacheException class; allows you to provide a message with the exception. |
|
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 | |
---|---|---|
Data | (Inherited from Exception.) |
|
ErrorCode | The integer used to identify the type of exception encountered. |
|
HelpLink | A link to help for the exception.(Overrides Exception.HelpLink.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | The description of the exception encountered.(Overrides Exception.Message.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
SubStatus | The T:Microsoft.ApplicationServer.Caching.DataCacheErrorSubstatus of the exception encountered. |
|
TargetSite | (Inherited from Exception.) |
|
TrackingId | The tracking identifier related to the exception. Only valid if tracing is enabled. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | The interface that is used for serialization.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType() | (Inherited from Exception.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Exception.) |
Events
Name | Description | |
---|---|---|
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