Condividi tramite


LatencyRegistryServiceCollectionExtensions.RegisterCheckpointNames Metodo

Definizione

Registra un set di nomi di checkpoint per un contesto di latenza.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ RegisterCheckpointNames(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, ... cli::array <System::String ^> ^ names);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection RegisterCheckpointNames (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, params string[] names);
static member RegisterCheckpointNames : Microsoft.Extensions.DependencyInjection.IServiceCollection * string[] -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function RegisterCheckpointNames (services As IServiceCollection, ParamArray names As String()) As IServiceCollection

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze a cui aggiungere i nomi.

names
String[]

Set di nomi di checkpoint.

Restituisce

Valore di services.

Eccezioni

services o names è null.

Si applica a