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 TestResult class by using the provided computer name, test run ID, and test element.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
computerName As String, _
runId As Guid, _
test As ITestElement _
)
public TestResult(
string computerName,
Guid runId,
ITestElement test
)
public:
TestResult(
String^ computerName,
Guid runId,
ITestElement^ test
)
new :
computerName:string *
runId:Guid *
test:ITestElement -> TestResult
public function TestResult(
computerName : String,
runId : Guid,
test : ITestElement
)
Parameters
computerName
Type: StringThe name of the computer that is reporting a test result.
runId
Type: GuidThe Guid for the test run.
test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementAn ITestElement object.
.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.