C# Class Spring.Retry.Retry.Support.NeverRetryContext

Special context object for NeverRetryPolicy. Implements a flag with a similar function to IRetryContext.ExhaustedOnly, but kept separate so that if subclasses of NeverRetryPolicy need to they can modify the behaviour of NeverRetryPolicy.CanRetry without affecting IRetryContext.ExhaustedOnly.
Inheritance: Spring.Retry.Retry.Context.RetryContextSupport
Mostrar archivo Open project: spring-projects/spring-net-retry

Public Methods

Method Description
NeverRetryContext ( IRetryContext parent ) : System

Initializes a new instance of the NeverRetryContext class.

SetFinished ( ) : void

The set finished.

Method Details

NeverRetryContext() public method

Initializes a new instance of the NeverRetryContext class.
public NeverRetryContext ( IRetryContext parent ) : System
parent IRetryContext The parent.
return System

SetFinished() public method

The set finished.
public SetFinished ( ) : void
return void