Class ConfigurationKeyNotFoundException
Represents error when configuration key is missing.
Inheritance
Implements
Inherited Members
Namespace: Relativity.Testing.Framework.Configuration
Assembly: Relativity.Testing.Framework.dll
Syntax
[Serializable]
public class ConfigurationKeyNotFoundException : Exception, ISerializable, _Exception
Constructors
| Improve this Doc View SourceConfigurationKeyNotFoundException()
Initializes a new instance of the ConfigurationKeyNotFoundException class.
Declaration
public ConfigurationKeyNotFoundException()
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. |
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. |
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 SourceKeyName
Gets the Key name.
Declaration
public string KeyName { get; }
Property Value
Type | Description |
---|---|
System.String |