RetryAttribute(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.