ClassCleanupExecutionAttribute Constructors
Definition
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.
Overloads
ClassCleanupExecutionAttribute() |
Initializes a new instance of the ClassCleanupExecutionAttribute class. |
ClassCleanupExecutionAttribute(ClassCleanupBehavior) |
Initializes a new instance of the ClassCleanupExecutionAttribute class. |
ClassCleanupExecutionAttribute()
Initializes a new instance of the ClassCleanupExecutionAttribute class.
public ClassCleanupExecutionAttribute ();
Public Sub New ()
Applies to
ClassCleanupExecutionAttribute(ClassCleanupBehavior)
Initializes a new instance of the ClassCleanupExecutionAttribute class.
public ClassCleanupExecutionAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior cleanupBehavior);
new Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupExecutionAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior -> Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupExecutionAttribute
Public Sub New (cleanupBehavior As ClassCleanupBehavior)
Parameters
- cleanupBehavior
- ClassCleanupBehavior
Specifies the class clean-up behavior.
To capture output of class clean-up method in logs
cleanupBehavior
must be set to EndOfClass.