TimeoutAttribute Constructors
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.
Overloads
TimeoutAttribute(TestTimeout) |
Initializes a new instance of the TimeoutAttribute class with a preset timeout. |
TimeoutAttribute(Int32) |
Initializes a new instance of the TimeoutAttribute class. |
TimeoutAttribute(TestTimeout)
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
Initializes a new instance of the TimeoutAttribute class with a preset timeout.
public:
TimeoutAttribute(Microsoft::VisualStudio::TestTools::UnitTesting::TestTimeout timeout);
public TimeoutAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.TestTimeout timeout);
new Microsoft.VisualStudio.TestTools.UnitTesting.TimeoutAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestTimeout -> Microsoft.VisualStudio.TestTools.UnitTesting.TimeoutAttribute
Public Sub New (timeout As TestTimeout)
Parameters
- timeout
- TestTimeout
The timeout.
Applies to
TimeoutAttribute(Int32)
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
- Source:
- TimeoutAttribute.cs
Initializes a new instance of the TimeoutAttribute class.
public:
TimeoutAttribute(int timeout);
public TimeoutAttribute (int timeout);
new Microsoft.VisualStudio.TestTools.UnitTesting.TimeoutAttribute : int -> Microsoft.VisualStudio.TestTools.UnitTesting.TimeoutAttribute
Public Sub New (timeout As Integer)
Parameters
- timeout
- Int32
The timeout in milliseconds.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.