ServiceDiscoveryServiceCollectionExtensions.AddPassThroughServiceEndpointProvider Method
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.
Configures a service discovery endpoint provider which passes through the input without performing resolution.
C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddPassThroughServiceEndpointProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddPassThroughServiceEndpointProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddPassThroughServiceEndpointProvider (services As IServiceCollection) As IServiceCollection
- services
- IServiceCollection
The service collection.
The service collection.
產品 | 版本 |
---|---|
.NET Aspire | 8.0.0, 9.0.0, 9.1.0 |