Поделиться через


RetryAttribute(Int32) Constructor

Definition

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

public RetryAttribute (int maxRetryAttempts);
new Microsoft.VisualStudio.TestTools.UnitTesting.RetryAttribute : int -> Microsoft.VisualStudio.TestTools.UnitTesting.RetryAttribute
Public Sub New (maxRetryAttempts As Integer)

Parameters

maxRetryAttempts
Int32

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

Applies to