Partilhar via


WaitAnnotation Class

Definition

Represents a wait relationship between two resources.

public sealed class WaitAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type WaitAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class WaitAnnotation
Implements IResourceAnnotation
Inheritance
WaitAnnotation
Implements

Remarks

The holder of this annotation is waiting on the resource in the Resource property.

Constructors

WaitAnnotation(IResource, WaitType, Int32)

Represents a wait relationship between two resources.

Properties

ExitCode

The exit code that the resource must return for the wait to be satisfied.

Resource

The resource that will be waited on.

WaitType

The type of wait to apply to the dependency resource.

Applies to