Class RuntimeResult
Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
public abstract class RuntimeResult : IResult
Properties​
Error​
Describes the error type that may have occurred during the operation.
View Source​
Declaration
public CommandError? Error { get; }
Reason​
Describes the execution reason or result.
View Source​
Declaration
public string Reason { get; }
IsSuccess​
Indicates whether the operation was successful or not.
View Source​
Declaration
public bool IsSuccess { get; }
IResult.ErrorReason​
Describes the reason for the error.
View Source​
Declaration
string IResult.ErrorReason { get; }
Methods​
ToString()​
View Source​
Declaration
public override string ToString()
Returns​
System.String