TestCleanupAttribute Class
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.
The test cleanup attribute marks methods that are executed after every test marked with a TestMethodAttribute.
C++
public ref class TestCleanupAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class TestCleanupAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class TestCleanupAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type TestCleanupAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type TestCleanupAttribute = class
inherit Attribute
Public NotInheritable Class TestCleanupAttribute
Inherits Attribute
- Inheritance
-
TestCleanupAttribute
- Attributes
Tuote | Versiot |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.
Tuotteen .NET palaute
.NET on avoin lähdekoodi projekti. Anna palautetta valitsemalla linkki: