Partager via


DelayAction Constructor (Int32)

Initializes a new instance of the DelayAction class by using the provided delay duration.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    duration As Integer _
)
public DelayAction(
    int duration
)
public:
DelayAction(
    int duration
)
new : 
        duration:int -> DelayAction
public function DelayAction(
    duration : int
)

Parameters

  • duration
    Type: Int32

    The number of seconds to delay after executing each action.

.NET Framework Security

See Also

Reference

DelayAction Class

DelayAction Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace