Represents the error that occurs when there is an error parsing an NDesk.Options.Option.
|
Instances of this class are thrown when:
See Also: Inherited members from Exception.
Creates and initializes a new instance of the NDesk.Options.OptionException class. |
Creates and initializes a new instance of the NDesk.Options.OptionException class. |
OptionException
(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Initializes a new instance of the
NDesk.Options.OptionException class with serialized
data.
|
OptionName [read-only] | string . A string containing the option name that caused the exception. |
override |
GetObjectData
(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Adds information about the exception to the provided
System.Runtime.Serialization.SerializationInfo
instance.
|
Initializes a new instance of the NDesk.Options.OptionException class with serialized data.
Creates and initializes a new instance of the NDesk.Options.OptionException class.
Creates and initializes a new instance of the NDesk.Options.OptionException class.
Adds information about the exception to the provided System.Runtime.Serialization.SerializationInfo instance.