TestResultCounter 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
TestResultCounter(TestResultCounter) |
Initializes a new instance of the TestResultCounter class by creating a copy of the provided test result counter. |
TestResultCounter(Int32) |
Initializes a new instance of the TestResultCounter class. |
TestResultCounter(TestResultCounter)
Initializes a new instance of the TestResultCounter class by creating a copy of the provided test result counter.
public:
TestResultCounter(Microsoft::VisualStudio::TestTools::Common::TestResultCounter ^ other);
public TestResultCounter (Microsoft.VisualStudio.TestTools.Common.TestResultCounter other);
new Microsoft.VisualStudio.TestTools.Common.TestResultCounter : Microsoft.VisualStudio.TestTools.Common.TestResultCounter -> Microsoft.VisualStudio.TestTools.Common.TestResultCounter
Public Sub New (other As TestResultCounter)
Parameters
- other
- TestResultCounter
A TestResultCounter object to copy.
Applies to
TestResultCounter(Int32)
Initializes a new instance of the TestResultCounter class.
public:
TestResultCounter(int total);
public TestResultCounter (int total);
new Microsoft.VisualStudio.TestTools.Common.TestResultCounter : int -> Microsoft.VisualStudio.TestTools.Common.TestResultCounter
Public Sub New (total As Integer)
Parameters
- total
- Int32
An int that indicates the total number of test outcomes in this counter.