ResourceStoppedEvent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |