WaitAnnotation
Class sealed net10.0
Represents a wait relationship between two resources.
namespace Aspire.Hosting.ApplicationModel;
public sealed class WaitAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...} 5 members
Remarks
Section titled Remarks The holder of this annotation is waiting on the resource in the
WaitAnnotation.Resource property. Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesExitCodegetint The exit code that the resource must return for the wait to be satisfied.
Resourceget The resource that will be waited on.
WaitBehaviorget; init The behavior of the wait. Only applicable when
WaitAnnotation.WaitType is WaitType.WaitUntilHealthy. WaitTypeget The type of wait to apply to the dependency resource.