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. CommandException

    CommandException Class

    Definition

    Namespace XenoAtom.CommandLine
    Assembly XenoAtom.CommandLine.dll
    Inherits Object → Exception
    Derived XenoAtom.CommandLine.CommandArgumentException, XenoAtom.CommandLine.CommandOptionException
    Implements ISerializable
    View source
    Show inherited members (18)
    • 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 when executing a command.

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

    Constructors (2)

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

    Properties (1)

    DiagnosticGets optional structured diagnostic information associated with 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