CacheException Constructors

Definition

Overloads

CacheException()

Initializes a new instance of the CacheException class.

CacheException(String)

Initializes a new instance of the CacheException class.

CacheException(SerializationInfo, StreamingContext)

Initializes a new instance of the CacheException class.

CacheException(String, Exception)

Initializes a new instance of the CacheException class.

CacheException()

Initializes a new instance of the CacheException class.

public:
 CacheException();
public CacheException ();
Public Sub New ()

Applies to

CacheException(String)

Initializes a new instance of the CacheException class.

public:
 CacheException(System::String ^ message);
public CacheException (string? message);
new Microsoft.VisualStudio.RpcContracts.Caching.CacheException : string -> Microsoft.VisualStudio.RpcContracts.Caching.CacheException
Public Sub New (message As String)

Parameters

message
String

Applies to

CacheException(SerializationInfo, StreamingContext)

Initializes a new instance of the CacheException class.

protected:
 CacheException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CacheException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.RpcContracts.Caching.CacheException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.RpcContracts.Caching.CacheException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

CacheException(String, Exception)

Initializes a new instance of the CacheException class.

public:
 CacheException(System::String ^ message, Exception ^ inner);
public CacheException (string? message, Exception? inner);
new Microsoft.VisualStudio.RpcContracts.Caching.CacheException : string * Exception -> Microsoft.VisualStudio.RpcContracts.Caching.CacheException
Public Sub New (message As String, inner As Exception)

Parameters

message
String
inner
Exception

Applies to