ResourceReadyEvent(IResource, IServiceProvider) Constructor
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.
Event that is raised when a resource initially transitions to a ready state.
public ResourceReadyEvent (Aspire.Hosting.ApplicationModel.IResource resource, IServiceProvider services);
new Aspire.Hosting.ApplicationModel.ResourceReadyEvent : Aspire.Hosting.ApplicationModel.IResource * IServiceProvider -> Aspire.Hosting.ApplicationModel.ResourceReadyEvent
Public Sub New (resource As IResource, services As IServiceProvider)
Parameters
- resource
- IResource
The resource that is in a ready state.
- services
- IServiceProvider
The service provider for the app host.
Remarks
This event is only fired once per resource the first time it transitions to a ready state.