Method | Description | |
---|---|---|
CanRetry ( IRetryContext context ) : bool |
Delegate to the policies that were in operation when the context was created. If any of them cannot retry then return false, otherwise return true.IRetryPolicy.CanRetry
|
|
Close ( IRetryContext context ) : void |
Delegate to the policies that were in operation when the context was created. If any of them fails to close the exception is propagated (and those later in the chain are closed before re-throwing).IRetryPolicy.Close
|
|
Open ( IRetryContext parent ) : IRetryContext |
Creates a new context that copies the existing policies and keeps a list of the contexts from each one. IRetryPolicy.Open
|
|
RegisterException ( IRetryContext context, |
Delegate to the policies that were in operation when the context was created. IRetryPolicy.Close
|
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 |