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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.