CommandResults
Class static net10.0
A factory for
ExecuteCommandResult. namespace Aspire.Hosting.ApplicationModel;
public static class CommandResults{ // ...}Methods4
Section titled MethodsCanceledstatic Produces a canceled result.
Failure(string?)static Produces an unsuccessful result with an error message.
Failure(Exception)static Produces an unsuccessful result from an
Exception. Exception.Message is used as the error message. Successstatic Produces a success result.