Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the TestResultBase class by using the provided test run ID and test execution ID. Called by the testing framework.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
runId As Guid, _
execId As Guid _
)
public TestResultBase(
Guid runId,
Guid execId
)
public:
TestResultBase(
Guid runId,
Guid execId
)
new :
runId:Guid *
execId:Guid -> TestResultBase
public function TestResultBase(
runId : Guid,
execId : Guid
)
Parameters
runId
Type: GuidA Guid for a test run.
execId
Type: GuidA Guid for the test execution in a test run.
Remarks
In a test run, a test may run more than one time. Each time it is executed, the result receives a new execId value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.