ResourceStoppedEvent Constructors
ClassConstructors1 member
This event is raised after a resource has stopped.
Constructor(IResource, IServiceProvider, ResourceEvent)Section titled Constructor(IResource, IServiceProvider, ResourceEvent) This event is raised after a resource has stopped.
public class ResourceStoppedEvent{ public ResourceStoppedEvent( IResource resource, IServiceProvider services, ResourceEvent resourceEvent) { // ... }}Parameters
resourceIResourceThe resource that has stopped.servicesIServiceProviderThe IServiceProvider for the app host.resourceEventResourceEventThe ResourceStoppedEvent.ResourceEvent containing the current state information.Remarks
This event allows for cleanup or unregistration logic when a resource is stopped by an orchestrator.