Share via


UITestException.ErrorInfo Property

Gets or sets information about the UI test action that caused the exception.

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

Syntax

'Declaration
Public Property ErrorInfo As ILastInvocationInfo
public ILastInvocationInfo ErrorInfo { get; set; }
public:
property ILastInvocationInfo^ ErrorInfo {
    ILastInvocationInfo^ get ();
    void set (ILastInvocationInfo^ value);
}
member ErrorInfo : ILastInvocationInfo with get, set
function get ErrorInfo () : ILastInvocationInfo 
function set ErrorInfo (value : ILastInvocationInfo)

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo
Information about the last test action that was invoked.

.NET Framework Security

See Also

Reference

UITestException Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

ILastInvocationInfo