共用方式為


ConnectionStringAvailableEvent(IResource, IServiceProvider) Constructor

Definition

The ConnectionStringAvailableEvent is raised when a connection string becomes available for a resource.

public ConnectionStringAvailableEvent (Aspire.Hosting.ApplicationModel.IResource resource, IServiceProvider services);
new Aspire.Hosting.ApplicationModel.ConnectionStringAvailableEvent : Aspire.Hosting.ApplicationModel.IResource * IServiceProvider -> Aspire.Hosting.ApplicationModel.ConnectionStringAvailableEvent
Public Sub New (resource As IResource, services As IServiceProvider)

Parameters

resource
IResource

The IResource for the event.

services
IServiceProvider

The IServiceProvider for the app host.

Applies to