Search Results for

    Show / Hide Table of Contents

    Class CommandNotFoundException

    Thrown when the command service fails to find a command.

    Inheritance
    System.Object
    System.Exception
    CommandNotFoundException
    Namespace: DisCatSharp.CommandsNext.Exceptions
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public sealed class CommandNotFoundException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    CommandNotFoundException(String)

    Creates a new CommandNotFoundException.

    Declaration
    public CommandNotFoundException(string command)
    Parameters
    Type Name Description
    System.String command

    Name of the command that was not found.

    Properties

    | Improve this Doc View Source

    CommandName

    Gets the name of the command that was not found.

    Declaration
    public string CommandName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    ToString()

    Returns a string representation of this CommandNotFoundException.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string representation.

    Overrides
    System.Exception.ToString()

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems