ProcessCommandOptions
Class net8.0
Optional configuration for resource process commands added with
ResourceBuilderExtensions.WithProcessCommand. namespace Aspire.Hosting.ApplicationModel;
public class ProcessCommandOptions : Aspire.Hosting.ApplicationModel.CommandOptions{ // ...} 5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesDisplayImmediatelyget; setbool Gets or sets a value indicating whether returned command output should be displayed immediately in the dashboard.
GetCommandResultget; setFunc<ProcessCommandResultContext, Task<ExecuteCommandResult>> Gets or sets a callback to be invoked after the process exits to determine the result of the command invocation.
MaxOutputLineCountget; setint Gets or sets the maximum number of stdout and stderr output lines returned as command result data.
SuccessExitCodesget; setIReadOnlyList<int> Gets or sets the exit codes that are treated as a successful command invocation when
ProcessCommandOptions.GetCommandResult is not specified.