Partager via


PlaybackSettings.MaximumRetryCount Property

Gets or sets the number of times a retry can be done for a single action via PlaybackError handler in a coded ui test.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Property MaximumRetryCount As Integer
public int MaximumRetryCount { get; set; }
public:
property int MaximumRetryCount {
    int get ();
    void set (int value);
}
member MaximumRetryCount : int with get, set
function get MaximumRetryCount () : int 
function set MaximumRetryCount (value : int)

Property Value

Type: Int32

.NET Framework Security

See Also

Reference

PlaybackSettings Class

Microsoft.VisualStudio.TestTools.UITesting Namespace