ClassCleanupAttribute 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
ClassCleanupAttribute() |
Initializes a new instance of the ClassCleanupAttribute class. |
ClassCleanupAttribute(ClassCleanupBehavior) |
Initializes a new instance of the ClassCleanupAttribute class. |
ClassCleanupAttribute(InheritanceBehavior) |
Initializes a new instance of the ClassCleanupAttribute class. |
ClassCleanupAttribute(InheritanceBehavior, ClassCleanupBehavior) |
Initializes a new instance of the ClassCleanupAttribute class. |
ClassCleanupAttribute()
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
Initializes a new instance of the ClassCleanupAttribute class.
public ClassCleanupAttribute ();
Public Sub New ()
Applies to
ClassCleanupAttribute(ClassCleanupBehavior)
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
Initializes a new instance of the ClassCleanupAttribute class.
public ClassCleanupAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior cleanupBehavior);
new Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior -> Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute
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.
Applies to
ClassCleanupAttribute(InheritanceBehavior)
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
Initializes a new instance of the ClassCleanupAttribute class.
public ClassCleanupAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior inheritanceBehavior);
new Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior -> Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute
Public Sub New (inheritanceBehavior As InheritanceBehavior)
Parameters
- inheritanceBehavior
- InheritanceBehavior
Specifies the ClassCleanup Inheritance Behavior.
Applies to
ClassCleanupAttribute(InheritanceBehavior, ClassCleanupBehavior)
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
- Source:
- ClassCleanupAttribute.cs
Initializes a new instance of the ClassCleanupAttribute class.
public ClassCleanupAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior inheritanceBehavior, Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior cleanupBehavior);
new Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior * Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupBehavior -> Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute
Public Sub New (inheritanceBehavior As InheritanceBehavior, cleanupBehavior As ClassCleanupBehavior)
Parameters
- inheritanceBehavior
- InheritanceBehavior
Specifies the ClassCleanup Inheritance Behavior.
- cleanupBehavior
- ClassCleanupBehavior
Specifies the class clean-up behavior.
To capture output of class clean-up method in logs
cleanupBehavior
must be set to EndOfClass.