NullLatencyContextServiceCollectionExtensions.AddNullLatencyContext Methode

Definitie

Hiermee voegt u een no-op latentiecontext toe aan een container voor afhankelijkheidsinjectie.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddNullLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddNullLatencyContext(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddNullLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddNullLatencyContext (services As IServiceCollection) As IServiceCollection

Parameters

services
IServiceCollection

De container voor afhankelijkheidsinjectie waaraan de context moet worden toegevoegd.

Retouren

De waarde van services.

Uitzonderingen

services is null.

Van toepassing op