BeforeResourceStartedEvent Class

Definition

This event is raised by orchestrators before they have started a new resource.

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

Remarks

Resources that are created by orchestrators may not yet be ready to handle requests.

Constructors

BeforeResourceStartedEvent(IResource, IServiceProvider)

This event is raised by orchestrators before they have started a new resource.

Properties

Resource

Resource associated with this event.

Services

The IServiceProvider for the app host.

Applies to