UITestProgressEventArgs Constructor (Int32, Int32, UITestAction)
Initializes a new instance of the UITestProgressEventArgs class by using the provided step number, total steps, and test action.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
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
)
Parameters
currentStep
Type: Int32The number of the current step.
totalSteps
Type: Int32The total number of steps.
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UITestProgressEventArgs Overload