Skip to content

T_CommandLine_UnknownOptionError

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

UnknownOptionError Class

Models an error generated when an unknown option is detected.

Inheritance Hierarchy

System.Object
  CommandLine.Error
    CommandLine.TokenError
      CommandLine.UnknownOptionError
Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public sealed class UnknownOptionError : TokenError

VB

Public NotInheritable Class UnknownOptionError
	Inherits TokenError

C++

public ref class UnknownOptionError sealed : public TokenError

F#

[<SealedAttribute>]
type UnknownOptionError =  
    class
        inherit TokenError
    end

The UnknownOptionError type exposes the following members.

Constructors

 

Name Description
Protected method UnknownOptionError Initializes a new instance of the UnknownOptionError class
  Back to Top

Properties

 

Name Description
Public property StopsProcessing Tells if error stops parsing process. Filtered by OnlyMeaningfulOnes(IEnumerable(Error)). (Inherited from Error.)
Public property Tag Error type discriminator, defined as ErrorType enumeration. (Inherited from Error.)
Public property Token The string containing the token text. (Inherited from TokenError.)
  Back to Top

Methods

 

Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from TokenError.)
Public method Equals(Error) Returns a value that indicates whether the current instance and a specified Error have the same value. (Inherited from Error.)
Public method Equals(TokenError) Returns a value that indicates whether the current instance and a specified TokenError have the same value. (Inherited from TokenError.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from TokenError.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Private Extension Method IsEmpty (Defined by UnParserExtensions.)
Private Extension Method NormalizeValue (Defined by UnParserExtensions.)
  Back to Top

See Also

Reference

CommandLine Namespace

Clone this wiki locally