Summary
Executes an action with automatic linear-backoff retries when a T exception is thrown, discarding the return value.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Helpers - Base Types
-
- Object
- RetryAction
<T, bool>
graph BT
Type-->Base0["RetryAction<T, bool>"]
Base0-->Base1["Object"]
Type["RetryAction<T>"]
class Type type-node
Syntax
public class RetryAction<T> : RetryAction<T, bool> where T : Exception
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Name | Summary |
|---|---|
| RetryAction | Executes an action with automatic linear-backoff retries when a T exception is thrown, discarding the return value. |
Methods
| Name | Value | Summary |
|---|---|---|
| Execute |
void |
Executes operation, retrying on T up to the configured maximum number of times.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|