RetryAttribute(Int32) Constructor

Definition

Initializes a new instance of the RetryAttribute class with the given number of max retries.

C#
public RetryAttribute(int maxRetryAttempts);

Parameters

maxRetryAttempts
Int32

The maximum number of retry attempts. This must be greater than or equal to 1.

Applies to

Tuote Versiot
MSTest.TestFramework 3.8.0