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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.