Partilhar via


ResourceReadyEvent Class

Definition

Event that is raised when a resource initially transitions to a ready state.

public class ResourceReadyEvent : Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent
type ResourceReadyEvent = class
    interface IDistributedApplicationResourceEvent
    interface IDistributedApplicationEvent
Public Class ResourceReadyEvent
Implements IDistributedApplicationResourceEvent
Inheritance
ResourceReadyEvent
Implements

Remarks

This event is only fired once per resource the first time it transitions to a ready state.

Constructors

ResourceReadyEvent(IResource, IServiceProvider)

Event that is raised when a resource initially transitions to a ready state.

Properties

Resource

The resource that is in a healthy state.

Services

The service provider for the app host.

Applies to