ResourceCommandAnnotation.ExecuteCommand Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A callback that is executed when the command is executed. The result is used to indicate success or failure in the UI.
public Func<Aspire.Hosting.ApplicationModel.ExecuteCommandContext,System.Threading.Tasks.Task<Aspire.Hosting.ApplicationModel.ExecuteCommandResult>> ExecuteCommand { get; }
member this.ExecuteCommand : Func<Aspire.Hosting.ApplicationModel.ExecuteCommandContext, System.Threading.Tasks.Task<Aspire.Hosting.ApplicationModel.ExecuteCommandResult>>
Public ReadOnly Property ExecuteCommand As Func(Of ExecuteCommandContext, Task(Of ExecuteCommandResult))