Class ManagementException
Thrown when the system is unable to find the installation folder or the cache configuration file and user requests for the cache initialization.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class ManagementException : CacheException, ISerializable, _Exception
ManagementException()
default constructor.
Declaration
public ManagementException()
ManagementException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected ManagementException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
ManagementException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public ManagementException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
ManagementException(String, Exception)
overloaded constructor.
Declaration
public ManagementException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
System.Exception | inner | nested exception |
GetObjectData(SerializationInfo, StreamingContext)
manual serialization
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |