Partilhar via


TestCleanupAttribute Class

Definition

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

public ref class TestCleanupAttribute sealed : Attribute
[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