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

ILastInvocationInfo Interface

Provides an interface to obtain additional information from the UITechnologyManager.GetLastInvocationInfo method about the last action or search operation.

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

type ILastInvocationInfo =  interface end

The ILastInvocationInfo type exposes the following members.

Public propertyInnerInfoGets the last invocation information for the previous action or search, if any.
Public propertyMessageGets the last message.
Public propertySourceThe name of the source of any failure.

Public methodGetInfoPropertiesGets an array of the names of supported properties.
Public methodGetInfoPropertyValueGets a string version of the value of the specified property.