ResourceStoppedEvent
Class net8.0
This event is raised after a resource has stopped.
namespace Aspire.Hosting.ApplicationModel;
public class ResourceStoppedEvent : Aspire.Hosting.Eventing.IDistributedApplicationEvent, Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent{ // ...}Remarks
Section titled Remarks This event allows for cleanup or unregistration logic when a resource is stopped by an orchestrator.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesResourceget Resource associated with this event.
ResourceEventget The
ResourceStoppedEvent.ResourceEvent containing the current state information. ServicesgetIServiceProvider The
IServiceProvider instance.