Skip to content
Docs Try Aspire
Docs Try

ExecuteCommandResult Properties

Class Properties 5 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; }
An optional value produced by the command.
public CommandResultData? Data { 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; }
Message Section titled Message nullable string?
An optional message associated with the command result.
public string? Message { get; init; }
A flag that indicates whether the command was successful.
public bool Success { get; init; }