共用方式為


ITestPointHelper.BlockTestPoints 方法

封鎖指定之測試點。 也就是說,對於這些測試的點,TestPointState 將會是 NotReady,最新的測試結果會有如同 Blocked 的結果,以及如同 Completed 的狀態。

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

語法

'宣告
Sub BlockTestPoints ( _
    pointsToBlock As ITestPoint() _
)
void BlockTestPoints(
    ITestPoint[] pointsToBlock
)
void BlockTestPoints(
    array<ITestPoint^>^ pointsToBlock
)
abstract BlockTestPoints : 
        pointsToBlock:ITestPoint[] -> unit
function BlockTestPoints(
    pointsToBlock : ITestPoint[]
)

參數

.NET Framework 安全性

請參閱

參考

ITestPointHelper 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間