Class DuplicateCommandException
Indicates that given command name or alias is taken.
Inheritance
System.Object
System.Exception
DuplicateCommandException
Namespace: DisCatSharp.CommandsNext.Exceptions
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public class DuplicateCommandException : Exception, ISerializable
Properties
| Improve this Doc View SourceCommandName
Gets the name of the command that already exists.
Declaration
public string CommandName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Returns a string representation of this DuplicateCommandException.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation. |
Overrides
System.Exception.ToString()