다음을 통해 공유


TestResultCounter Constructors

Definition

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.

Applies to