Class ConfigurationException
Thrown when an exception occurs during configuration. Likely, causes are badly specified configuration strings.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class ConfigurationException : CacheException, ISerializable, _Exception
Examples
The following example demonstrates how to use this exception in your code.
try
{
...
}
catch(ConfigurationException ex)
{
...
}
Constructors
| Name | Description |
|---|---|
| ConfigurationException() | Default constructor. |
| ConfigurationException(Int32) | overloaded constructor |
| ConfigurationException(Int32, String) | overloaded constructor |
| ConfigurationException(Int32, String, Exception) | overloaded cnstructor |
| ConfigurationException(Int32, String, String) | Overloaded constructor |
| ConfigurationException(SerializationInfo, StreamingContext) | overloaded constructor, manual serialization. |
| ConfigurationException(String) | Overloaded constructor, takes the reason as parameter. |
| ConfigurationException(String, Exception) | Overloaded constructor. |