• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Class ConfigurationException

Thrown when an exception occurs during configuration. Likely causes are badly specified configuration strings.

Inheritance
System.Object
System.Exception
CacheException
ConfigurationException
Inherited Members
CacheException.ErrorCode
CacheException.StackTrace
CacheException.ToString()
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.

Back to top Copyright © 2017 Alachisoft