Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Aspire.Hosting.ApplicationModel
  3. ResourceCommandAnnotation
  4. UpdateState
  • ResourceCommandAnnotation
    • ResourceCommandAnnotation(String, String, Func<UpdateCommandStateContext, ResourceCommandState>, Func<ExecuteCommandContext, Task<ExecuteCommandResult>>, String, Object, String, String, IconVariant?, Boolean)
    • ResourceCommandAnnotation(String, String, Func<UpdateCommandStateContext, ResourceCommandState>, Func<ExecuteCommandContext, Task<ExecuteCommandResult>>, String, IReadOnlyList<InteractionInput>, String, String, IconVariant?, Boolean, ResourceCommandVisibility, Func<InputsDialogValidationContext, Task>)
    • Arguments
    • ConfirmationMessage
    • DisplayDescription
    • DisplayName
    • ExecuteCommand
    • IconName
    • IconVariant
    • IsHighlighted
    • Name
    • Parameter
    • UpdateState
    • ValidateArguments
    • Visibility
net11.0
namespace Aspire.Hosting.ApplicationModel
{
    [DebuggerDisplay("Type = {GetType().Name,nq}, Name = {Name}")]
    public sealed class ResourceCommandAnnotation : IResourceAnnotation
    {
        public Func<UpdateCommandStateContext!, ResourceCommandState>! UpdateState { get; }
    }
}
.NET
8.09.010.011.0
Information specific to net11.0
Assemblies

Aspire.Hosting , Version=13.4.3.0, PublicKeyToken=cc7b13ffcd2ddd51

Aspire.Hosting , Version=13.5.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (13.4.3) net8.0
Platform Restrictions

The property getter is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

06/09/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙