Comparteix a través de


LatencyRegistryServiceCollectionExtensions.RegisterMeasureNames Método

Definición

Registra un conjunto de nombres de medida para un contexto de latencia.

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

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se van a agregar los nombres.

names
String[]

Conjunto de nombres de medida.

Devoluciones

El valor de services.

Excepciones

services o names es null.

Se aplica a