ResourceStoppedEvent Class

Definition

This event is raised after a resource has stopped.

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

Remarks

This event allows for cleanup or unregistration logic when a resource is stopped by an orchestrator.

Constructors

ResourceStoppedEvent(IResource, IServiceProvider, ResourceEvent)

This event is raised after a resource has stopped.

Properties

Resource

Resource associated with this event.

ResourceEvent

The ResourceEvent containing the current state information.

Services

The IServiceProvider for the app host.

Applies to