ClassCleanupExecutionAttribute 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.
Specification for when to run class cleanup methods.
C#
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)]
public class ClassCleanupExecutionAttribute : Attribute
C#
[System.AttributeUsage(System.AttributeTargets.Assembly)]
public class ClassCleanupExecutionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)>]
type ClassCleanupExecutionAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type ClassCleanupExecutionAttribute = class
inherit Attribute
Public Class ClassCleanupExecutionAttribute
Inherits Attribute
- Inheritance
-
ClassCleanupExecutionAttribute
- Attributes
Class |
Initializes a new instance of the ClassCleanupExecutionAttribute class. |
Class |
Initializes a new instance of the ClassCleanupExecutionAttribute class. |
Default |
Default class cleanup execution. |
Cleanup |
Gets when to run class cleanup methods. |
Product | Versions |
---|---|
MSTest.TestFramework | 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0 |
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.
.NET feedback
.NET is an open source project. Select a link to provide feedback: