共用方式為


ITestIterationResult.CreateSharedStepResult 方法

建立並傳回新的共用步驟結果。

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

語法

'宣告
Function CreateSharedStepResult ( _
    actionId As Integer, _
    sharedStepId As Integer _
) As ISharedStepResult
ISharedStepResult CreateSharedStepResult(
    int actionId,
    int sharedStepId
)
ISharedStepResult^ CreateSharedStepResult(
    int actionId, 
    int sharedStepId
)
abstract CreateSharedStepResult : 
        actionId:int * 
        sharedStepId:int -> ISharedStepResult 
function CreateSharedStepResult(
    actionId : int, 
    sharedStepId : int
) : ISharedStepResult

參數

  • actionId
    型別:System.Int32
    測試動作的數值 ID。
  • sharedStepId
    型別:System.Int32
    共用步驟的數值 ID。

傳回值

型別:Microsoft.TeamFoundation.TestManagement.Client.ISharedStepResult
新的共用步驟結果。

.NET Framework 安全性

請參閱

參考

ITestIterationResult 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ISharedStepResult