Share via


ResilienceHandlerContext Class

Definition

The context used when building a resilience pipeline HTTP handler.

public ref class ResilienceHandlerContext sealed
public sealed class ResilienceHandlerContext
type ResilienceHandlerContext = class
Public NotInheritable Class ResilienceHandlerContext
Inheritance
ResilienceHandlerContext

Properties

BuilderName

Gets the name of the builder being built.

InstanceName

Gets the instance name of resilience pipeline being built.

ServiceProvider

Gets the service provider.

Methods

EnableReloads<TOptions>(String)

Enables dynamic reloading of the resilience pipeline whenever the TOptions options are changed.

GetOptions<TOptions>(String)

Gets the options identified by name.

OnPipelineDisposed(Action)

Registers a callback that is called when the pipeline instance being configured is disposed.

Applies to