OrderOfInvoke Class

Represents a helper class that generates the order of invocation during recording and maintains the order of invocation during playback.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.OrderOfInvoke

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

Syntax

'Declaration
Public NotInheritable Class OrderOfInvoke
public static class OrderOfInvoke
public ref class OrderOfInvoke abstract sealed
[<AbstractClass>]
[<Sealed>]
type OrderOfInvoke =  class end
public final class OrderOfInvoke

The OrderOfInvoke type exposes the following members.

Properties

  Name Description
Public propertyStatic member OrderMap Gets the invocation order as recorded.
Public propertyStatic member OrderMapPlayback Gets the invocation order for test playback.

Top

Methods

  Name Description
Public methodStatic member ClearCache Clears the OrderMap and OrderMapPlayback properties.
Public methodStatic member Initialize Clears the OrderMap and OrderMapPlayback properties and turns off resetting the cache at the end of every recording and playback session.

Top

Remarks

Use this class only for top level windows.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace