Table of Contents

Class CircuitBreakerPolicy

Namespace
Polly.CircuitBreaker
Assembly
Polly.dll
public class CircuitBreakerPolicy : Policy, ISyncPolicy, ICircuitBreakerPolicy, IsPolicy
Inheritance
CircuitBreakerPolicy
Implements
Inherited Members
Extension Methods

Properties

CircuitState

public CircuitState CircuitState { get; }

Property Value

CircuitState

LastException

public Exception LastException { get; }

Property Value

Exception

Methods

Implementation<TResult>(Func<Context, CancellationToken, TResult>, Context, CancellationToken)

protected override TResult Implementation<TResult>(Func<Context, CancellationToken, TResult> action, Context context, CancellationToken cancellationToken)

Parameters

action Func<Context, CancellationToken, TResult>
context Context
cancellationToken CancellationToken

Returns

TResult

Type Parameters

TResult

Isolate()

public void Isolate()

Reset()

public void Reset()