Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

OnAfterResourcesCreated

Method
📦 Aspire.Hosting v17.0.0
func (EventingSubscriberRegistrationContext) OnAfterResourcesCreated(callback func(arg AfterResourcesCreatedEvent)) DistributedApplicationEventSubscription

Signature

methodOnAfterResourcesCreated
Subscribes to the AfterResourcesCreated event from an eventing subscriber registration context.
OnAfterResourcesCreated(callback func(arg AfterResourcesCreatedEvent)) DistributedApplicationEventSubscription
callbackfunc(arg AfterResourcesCreatedEvent)callbackThe callback to invoke when the event fires.
DistributedApplicationEventSubscription

The event subscription.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: