共用方式為


ContainerLifetimeAnnotation.Lifetime Property

Definition

Gets or sets the lifetime type for the container resource.

public Aspire.Hosting.ApplicationModel.ContainerLifetime Lifetime { get; set; }
member this.Lifetime : Aspire.Hosting.ApplicationModel.ContainerLifetime with get, set
Public Property Lifetime As ContainerLifetime

Property Value

Applies to