XenoAtom.CommandLine Home
  1. Home
  2. Docs
  3. API
    1. NuGet
    2. GitHub
    Menu
    Loading menu…

    On this page

    1. Home
    2. API
    3. XenoAtom.CommandLine
    4. CommandOptionException

    CommandOptionException Class

    Definition

    Namespace XenoAtom.CommandLine
    Assembly XenoAtom.CommandLine.dll
    Inherits Object → Exception → CommandException
    Implements ISerializable
    View source
    Show inherited members (19)
    • XenoAtom.CommandLine.CommandException.Diagnostic
    • System.Exception.GetBaseException()
    • System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    • System.Exception.GetType()
    • System.Exception.ToString()
    • System.Exception.Data
    • System.Exception.HelpLink
    • System.Exception.HResult
    • System.Exception.InnerException
    • System.Exception.Message
    • System.Exception.Source
    • System.Exception.StackTrace
    • System.Exception.TargetSite
    • System.Exception.SerializeObjectState
    • System.Object.Equals(System.Object?)
    • System.Object.Equals(System.Object?, System.Object?)
    • System.Object.GetHashCode()
    • System.Object.MemberwiseClone()
    • System.Object.ReferenceEquals(System.Object?, System.Object?)

    Represents an exception that is thrown when an error occurs while parsing options.

    public class CommandOptionException : CommandException, ISerializable
    
    Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

    Constructors (2)

    CommandOptionException(String, String, Exception)Creates a new instance of CommandOptionException.
    CommandOptionException(String, String)Creates a new instance of CommandOptionException.

    Properties (1)

    OptionNameGets the associated name of the option for this exception.

    This project is part of the XenoAtom.


    Copyright © 2026, Alexandre Mutel aka xoofx - Content licensed under the Creative Commons CC BY 4.0 | Site generated by lunet hosted on GitHub Pages