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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.