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
類型:Int32目前的步驟編號。
totalSteps
類型:Int32步驟總數。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。