InitializeResourceEvent
Classnet10.0
This event is raised by orchestrators to signal to resources that they should initialize themselves.
namespace Aspire.Hosting.ApplicationModel;
public class InitializeResourceEvent : Aspire.Hosting.Eventing.IDistributedApplicationEvent, Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent{ // ...}6 members
Remarks
Section titled Remarks Custom resources can subscribe to this event to perform initialization tasks, including starting background tasks that manage the resource's lifecycle.
Constructors1
Section titled Constructors This event is raised by orchestrators to signal to resources that they should initialize themselves.
Properties5
Section titled PropertiesEventingget The
IDistributedApplicationEventing service for the AppHost.