ResourceEndpointsAllocatedEvent(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 to signal to resources that their endpoints have been allocated.
public ResourceEndpointsAllocatedEvent(Aspire.Hosting.ApplicationModel.IResource resource, IServiceProvider services);
new Aspire.Hosting.ApplicationModel.ResourceEndpointsAllocatedEvent : Aspire.Hosting.ApplicationModel.IResource * IServiceProvider -> Aspire.Hosting.ApplicationModel.ResourceEndpointsAllocatedEvent
Public Sub New (resource As IResource, services As IServiceProvider)
Parameters
- resource
- IResource
- services
- IServiceProvider
Remarks
Any resources that customize their URLs via a ResourceUrlsCallbackAnnotation will have their callbacks invoked during this event.