Compartir a través de


ResilienceServiceCollectionExtensions.AddResilienceEnricher Método

Definición

Agrega enriquecedores de resistencia.

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

Parámetros

services
IServiceCollection

Los servicios.

Devoluciones

Objeto services de entrada.

Excepciones

services es null.

Comentarios

Este método agrega dimensiones adicionales sobre las predeterminadas integradas en la biblioteca polly. Aquí se incluyen:

Se aplica a