BeforeResourceStartedEvent(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.
This event is raised by orchestrators before they have started a new resource.
public BeforeResourceStartedEvent (Aspire.Hosting.ApplicationModel.IResource resource, IServiceProvider services);
new Aspire.Hosting.ApplicationModel.BeforeResourceStartedEvent : Aspire.Hosting.ApplicationModel.IResource * IServiceProvider -> Aspire.Hosting.ApplicationModel.BeforeResourceStartedEvent
Public Sub New (resource As IResource, services As IServiceProvider)
Parameters
- resource
- IResource
The resource that is being created.
- services
- IServiceProvider
The IServiceProvider for the app host.
Remarks
Resources that are created by orchestrators may not yet be ready to handle requests.