Skip to content
Docs Try Aspire

ExecuteCommandResult Properties

Class Properties 3 members
The result of executing a command. Returned from ResourceCommandAnnotation.ExecuteCommand.
A flag that indicates whether the command was canceled by the user.
public bool Canceled { get; init; }
ErrorMessage Section titled ErrorMessage nullable string?
An optional error message that can be set when the command is unsuccessful.
public string? ErrorMessage { get; init; }
A flag that indicates whether the command was successful.
public bool Success { get; init; }