Condividi tramite


ResilienceServiceCollectionExtensions.AddResilienceEnricher Metodo

Definizione

Aggiunge arricchimenti di resilienza.

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

Parametri

services
IServiceCollection

Servizi.

Restituisce

services di input.

Eccezioni

services è null.

Commenti

Questo metodo aggiunge dimensioni aggiuntive su quelle predefinite predefinite predefinite alla libreria Polly. Queste includono:

Si applica a