Table of Contents

Struct SeverityProviderArguments

Namespace
Polly.Telemetry
Assembly
Polly.Extensions.dll

Arguments used by SeverityProvider.

public readonly struct SeverityProviderArguments
Inherited Members

Constructors

SeverityProviderArguments(ResilienceTelemetrySource, ResilienceEvent, ResilienceContext)

Initializes a new instance of the SeverityProviderArguments struct.

public SeverityProviderArguments(ResilienceTelemetrySource source, ResilienceEvent resilienceEvent, ResilienceContext context)

Parameters

source ResilienceTelemetrySource

The source that produced the resilience event.

resilienceEvent ResilienceEvent

The resilience event.

context ResilienceContext

The resilience context.

Properties

Context

Gets the resilience context.

public ResilienceContext Context { get; }

Property Value

ResilienceContext

Event

Gets the resilience event.

public ResilienceEvent Event { get; }

Property Value

ResilienceEvent

Source

Gets the source that produced the resilience event.

public ResilienceTelemetrySource Source { get; }

Property Value

ResilienceTelemetrySource