ExecuteCommandResult
Class sealed net10.0
The result of executing a command. Returned from
ResourceCommandAnnotation.ExecuteCommand. namespace Aspire.Hosting.ApplicationModel;
public sealed class ExecuteCommandResult{ // ...}Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesCanceledget; initbool A flag that indicates whether the command was canceled by the user.
ErrorMessageget; initstring? An optional error message that can be set when the command is unsuccessful.
Successget; initbool A flag that indicates whether the command was successful.