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.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetOptions<TOptions>(String)

Gets the options identified by name.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnPipelineDisposed(Action)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to