Documentation for the C# command-line option parsing library

InvalidValueException Members

InvalidValueException overview

Public Instance Constructors

InvalidValueException Overloaded. Initializes a new instance of the InvalidValueException class.

Public Instance Properties

HelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
InnerException (inherited from Exception) Gets the Exception instance that caused the current exception.
Message (inherited from Exception) Gets a message that describes the current exception.
Source (inherited from Exception) Gets or sets the name of the application or the object that causes the error.
StackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
TargetSite (inherited from Exception) Gets the method that throws the current exception.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBaseException (inherited from Exception) When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData (inherited from Exception) When overridden in a derived class, sets the SerializationInfo with information about the exception.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Exception) Creates and returns a string representation of the current exception.

Protected Instance Constructors

InvalidValueException Overloaded. Initializes a new instance of the InvalidValueException class.

Protected Instance Properties

HResult (inherited from Exception) Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

InvalidValueException Class | CommandLine.OptParse Namespace