ResourceStoppedEvent Constructors
Class Constructors 1 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
resource IResource The resource that has stopped. services IServiceProvider The IServiceProvider for the app host. resourceEvent ResourceEvent The ResourceStoppedEvent.ResourceEvent containing the current state information. Remarks
This event allows for cleanup or unregistration logic when a resource is stopped by an orchestrator.