Class MissingApplicationSettingForConnectionStringException
An app setting is missing from System.Configuration.ConfigurationManager.AppSettings that points to a connection string.
Inheritance
System.Object
System.Exception
MissingApplicationSettingForConnectionStringException
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: Cqrs.Exceptions
Assembly: Cqrs.dll
Syntax
[Serializable]
public class MissingApplicationSettingForConnectionStringException : MissingApplicationSettingException, ISerializable, _Exception
Constructors
MissingApplicationSettingForConnectionStringException(String)
Instantiate a new instance of MissingApplicationSettingException.
Declaration
public MissingApplicationSettingForConnectionStringException(string appSettingKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | appSettingKey | The key of the app setting that is missing. |
MissingApplicationSettingForConnectionStringException(String, Exception)
Instantiate a new instance of MissingApplicationSettingException and a reference to the inner exception
that is the cause of this System.Exception.
Declaration
public MissingApplicationSettingForConnectionStringException(string appSettingKey, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | appSettingKey | The key of the app setting that is missing. |
System.Exception | exception | The System.Exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner System.Exception is specified. |