ExecuteCommandResult
Class sealed net8.0
The result of executing a command. Returned from
ResourceCommandAnnotation.ExecuteCommand. namespace Aspire.Hosting.ApplicationModel;
public sealed class ExecuteCommandResult{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesCanceledget; initbool A flag that indicates whether the command was canceled by the user.
Dataget; init An optional value produced by the command.
ErrorMessageget; initobsoletestring? An optional error message that can be set when the command is unsuccessful.
Messageget; initstring? An optional message associated with the command result.
Successget; initbool A flag that indicates whether the command was successful.