Skip to content
Docs Try Aspire

WaitAnnotation Properties

Class Properties 4 members
Represents a wait relationship between two resources.
The exit code that the resource must return for the wait to be satisfied.
public int ExitCode { get; }
The resource that will be waited on.
public IResource Resource { get; }
The behavior of the wait. Only applicable when WaitAnnotation.WaitType is WaitType.WaitUntilHealthy.
public WaitBehavior? WaitBehavior { get; init; }
The type of wait to apply to the dependency resource.
public WaitType WaitType { get; }