ClassCleanupAttribute Class

Definition

The class cleanup attribute.

C#
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class ClassCleanupAttribute : Attribute
C#
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class ClassCleanupAttribute : Attribute
Inheritance
ClassCleanupAttribute
Attributes

Constructors

ClassCleanupAttribute()

Initializes a new instance of the ClassCleanupAttribute class.

ClassCleanupAttribute(ClassCleanupBehavior)

Initializes a new instance of the ClassCleanupAttribute class.

ClassCleanupAttribute(InheritanceBehavior, ClassCleanupBehavior)

Initializes a new instance of the ClassCleanupAttribute class.

ClassCleanupAttribute(InheritanceBehavior)

Initializes a new instance of the ClassCleanupAttribute class.

Properties

CleanupBehavior

Gets when to run class cleanup methods.

InheritanceBehavior

Gets the Inheritance Behavior.

Applies to

Produkt Versionen
MSTest.TestFramework 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 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