共用方式為


UITestProgressEventArgs 建構函式 (Int32, Int32, UITestAction)

使用提供的步驟編號、步驟總數和測試回合,初始化 UITestProgressEventArgs 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Common
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
Public Sub New ( _
    currentStep As Integer, _
    totalSteps As Integer, _
    action As UITestAction _
)
public UITestProgressEventArgs(
    int currentStep,
    int totalSteps,
    UITestAction action
)
public:
UITestProgressEventArgs(
    int currentStep, 
    int totalSteps, 
    UITestAction^ action
)
new : 
        currentStep:int * 
        totalSteps:int * 
        action:UITestAction -> UITestProgressEventArgs
public function UITestProgressEventArgs(
    currentStep : int, 
    totalSteps : int, 
    action : UITestAction
)

參數

  • currentStep
    型別:System.Int32
    目前的步驟編號。

.NET Framework 安全性

請參閱

參考

UITestProgressEventArgs 類別

UITestProgressEventArgs 多載

Microsoft.VisualStudio.TestTools.UITest.Common 命名空間

UITestAction