Show / Hide Table of Contents

Class ConfigurationKeyNotFoundException

Represents error when configuration key is missing.

Inheritance
System.Object
System.Exception
ConfigurationKeyNotFoundException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Configuration
Assembly: Relativity.Testing.Framework.dll
Syntax
[Serializable]
public class ConfigurationKeyNotFoundException : Exception, ISerializable, _Exception

Constructors

| Improve this Doc View Source

ConfigurationKeyNotFoundException()

Initializes a new instance of the ConfigurationKeyNotFoundException class.

Declaration
public ConfigurationKeyNotFoundException()
| Improve this Doc View Source

ConfigurationKeyNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConfigurationKeyNotFoundException class.

Declaration
protected ConfigurationKeyNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

System.Runtime.Serialization.StreamingContext context

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

| Improve this Doc View Source

ConfigurationKeyNotFoundException(String)

Initializes a new instance of the ConfigurationKeyNotFoundException class.

Declaration
public ConfigurationKeyNotFoundException(string keyName)
Parameters
Type Name Description
System.String keyName

The missing key.

| Improve this Doc View Source

ConfigurationKeyNotFoundException(String, Exception)

Initializes a new instance of the ConfigurationKeyNotFoundException class.

Declaration
public ConfigurationKeyNotFoundException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

System.Exception innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Properties

| Improve this Doc View Source

KeyName

Gets the Key name.

Declaration
public string KeyName { get; }
Property Value
Type Description
System.String

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX