共用方式為


ITestManagementService.FindTestResultByLink 方法

透過使用提供的統一資源識別碼 (URI) 尋找並傳回測試結果和測試結果附件 (如果有)。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Function FindTestResultByLink ( _
    artifactUri As Uri, _
    <OutAttribute> ByRef testAttachment As ITestAttachment _
) As ITestCaseResult
ITestCaseResult FindTestResultByLink(
    Uri artifactUri,
    out ITestAttachment testAttachment
)
ITestCaseResult^ FindTestResultByLink(
    Uri^ artifactUri, 
    [OutAttribute] ITestAttachment^% testAttachment
)
abstract FindTestResultByLink : 
        artifactUri:Uri * 
        testAttachment:ITestAttachment byref -> ITestCaseResult
function FindTestResultByLink(
    artifactUri : Uri, 
    testAttachment : ITestAttachment
) : ITestCaseResult

參數

  • artifactUri
    類型:Uri

    Uri 物件。

傳回值

類型:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
測試案例結果。

.NET Framework 安全性

請參閱

參考

ITestManagementService 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ITestCaseResult

ITestAttachment