C# Class Taskular.Policies.IntervalRetryContext

Inheritance: IRetryContext
Exibir arquivo Open project: phatboyg/Taskular

Public Methods

Method Description
CanRetry ( Exception exception, System.TimeSpan &delay ) : bool
Complete ( TaskStatus status ) : void
IntervalRetryContext ( IRetryPolicy policy, System.TimeSpan delays ) : System

Method Details

CanRetry() public method

public CanRetry ( Exception exception, System.TimeSpan &delay ) : bool
exception System.Exception
delay System.TimeSpan
return bool

Complete() public method

public Complete ( TaskStatus status ) : void
status TaskStatus
return void

IntervalRetryContext() public method

public IntervalRetryContext ( IRetryPolicy policy, System.TimeSpan delays ) : System
policy IRetryPolicy
delays System.TimeSpan
return System