Skip to content
DocsTry Aspire
DocsTry

ExecuteCommandResult Properties

ClassProperties5 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; }
ErrorMessageSection titled ErrorMessagenullablestring?
An optional error message that can be set when the command is unsuccessful.
public string? ErrorMessage { get; init; }
MessageSection titled Messagenullablestring?
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; }