Condividi tramite


TestResultId Constructors

Definition

Overloads

TestResultId(Guid, TestExecId, TestExecId, TestId)

Initializes a new instance of the TestResultId class by using the provided test run ID, execution ID, parent execution ID, and test ID.

TestResultId(String, String, String, String)

Initializes a new instance of the TestResultId class by using the provided test run ID, text execution ID, the parent text execution ID, and the test ID.

TestResultId(Guid, TestExecId, TestExecId, TestId)

Initializes a new instance of the TestResultId class by using the provided test run ID, execution ID, parent execution ID, and test ID.

public:
 TestResultId(Guid runId, Microsoft::VisualStudio::TestTools::Common::TestExecId ^ executionId, Microsoft::VisualStudio::TestTools::Common::TestExecId ^ parentExecutionId, Microsoft::VisualStudio::TestTools::Common::TestId ^ testId);
public TestResultId (Guid runId, Microsoft.VisualStudio.TestTools.Common.TestExecId executionId, Microsoft.VisualStudio.TestTools.Common.TestExecId parentExecutionId, Microsoft.VisualStudio.TestTools.Common.TestId testId);
new Microsoft.VisualStudio.TestTools.Common.TestResultId : Guid * Microsoft.VisualStudio.TestTools.Common.TestExecId * Microsoft.VisualStudio.TestTools.Common.TestExecId * Microsoft.VisualStudio.TestTools.Common.TestId -> Microsoft.VisualStudio.TestTools.Common.TestResultId
Public Sub New (runId As Guid, executionId As TestExecId, parentExecutionId As TestExecId, testId As TestId)

Parameters

runId
Guid

A Guid for the test run.

executionId
TestExecId

A TestExecId object.

parentExecutionId
TestExecId

A TestExecId object for the parent test.

testId
TestId

A TestId object.

Applies to

TestResultId(String, String, String, String)

Initializes a new instance of the TestResultId class by using the provided test run ID, text execution ID, the parent text execution ID, and the test ID.

public:
 TestResultId(System::String ^ runId, System::String ^ executionId, System::String ^ parentExecutionId, System::String ^ testId);
public TestResultId (string runId, string executionId, string parentExecutionId, string testId);
new Microsoft.VisualStudio.TestTools.Common.TestResultId : string * string * string * string -> Microsoft.VisualStudio.TestTools.Common.TestResultId
Public Sub New (runId As String, executionId As String, parentExecutionId As String, testId As String)

Parameters

runId
String

A string representation of a Guid for the test run.

executionId
String

A string representation of a TestExecId object.

parentExecutionId
String

A string representation of a TestExecId object for the parent test.

testId
String

A string representation of a TestId object.

Applies to