TestCleanupAttribute Class

Definition

The test cleanup attribute marks methods that are executed after every test marked with a TestMethodAttribute.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class TestCleanupAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type TestCleanupAttribute = class
    inherit Attribute
Public NotInheritable Class TestCleanupAttribute
Inherits Attribute
Inheritance
TestCleanupAttribute
Attributes

Constructors

TestCleanupAttribute()

Applies to