共用方式為


DistributedApplicationExecutionContext.ServiceProvider Property

Definition

The IServiceProvider for the AppHost.

public IServiceProvider ServiceProvider { get; }
member this.ServiceProvider : IServiceProvider
Public ReadOnly Property ServiceProvider As IServiceProvider

Property Value

Exceptions

Thrown when the IServiceProvider is not available.

Applies to