We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

OrderOfInvoke.Initialize Method

Clears the OrderMap and OrderMapPlayback properties and turns off resetting the cache at the end of every recording and playback session.

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

public static void Initialize()

Call this method only if you do not want the cache to be reset at the end of every recording or playback session.