Search Results for

    Show / Hide Table of Contents

    Class VariableNotSetException

    The exception that is thrown when the environment variable is not set to a specific provider (e.g., current process or a Dictionary<TKey,TValue>).

    Inheritance
    Object
    Exception
    SystemException
    ArgumentException
    VariableNotSetException
    Implements
    ISerializable
    Inherited Members
    ArgumentException.GetObjectData(SerializationInfo, StreamingContext)
    ArgumentException.Message
    ArgumentException.ParamName
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: DotEnv.Core
    Assembly: DotEnv.Core.dll
    Syntax
    public class VariableNotSetException : ArgumentException, ISerializable

    Constructors

    Name Description
    VariableNotSetException()

    Initializes a new instance of the VariableNotSetException class with a default message.

    VariableNotSetException(String)

    Initializes a new instance of the VariableNotSetException class with the a specified error message.

    VariableNotSetException(String, String)

    Initializes a new instance of the VariableNotSetException class with the a specified error message, and the parameter name.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core