Method | Description | |
---|---|---|
CanRetry ( IRetryContext context ) : bool |
Returns false after the first exception. So there is always one try, and then the retry is prevented. IRetryContext
|
|
Close ( IRetryContext context ) : void |
Do nothing. IRetryContext
|
|
Open ( IRetryContext parent ) : IRetryContext |
Return a context that can respond to early termination requests, but does nothing else. IRetryPolicy.Open
|
|
RegisterException ( IRetryContext context, |
Make the exception available for downstream use through the context. IRetryPolicy.RegisterException
|
public CanRetry ( IRetryContext context ) : bool | ||
context | IRetryContext | The context. |
return | bool |
public Close ( IRetryContext context ) : void | ||
context | IRetryContext | The context. |
return | void |
public Open ( IRetryContext parent ) : IRetryContext | ||
parent | IRetryContext | The parent. |
return | IRetryContext |
public RegisterException ( IRetryContext context, |
||
context | IRetryContext | The context. |
exception | The exception. | |
return | void |