Compartilhar via


ResilienceServiceCollectionExtensions.AddResilienceEnricher Método

Definição

Adiciona enriquecedores de resiliência.

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

Os serviços.

Retornos

A services de entrada.

Exceções

services é null.

Comentários

Esse método adiciona dimensões adicionais sobre as padrão que são internas à biblioteca Polly. Estão incluídos:

Aplica-se a