Delen via


ITestCaseResult.GetTestCase Method

Retrieves the test case data from the server as of the time that the test case result was created.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function GetTestCase As ITestCase
ITestCase GetTestCase()
ITestCase^ GetTestCase()
abstract GetTestCase : unit -> ITestCase 
function GetTestCase() : ITestCase

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCase
The test case data. If the result is published from MSTEST/TCM.EXE, no test case exists, and this method returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ITestCaseResult Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase