UITestErrorEventArgs Members

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides event arguments for exceptions that are thrown while processing UI test actions.

The UITestErrorEventArgs type exposes the following members.

Constructors

  Name Description
Public method UITestErrorEventArgs Initializes a new instance of the UITestErrorEventArgs class using the provided action and exception.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Action Gets the associated UITestAction object. (Inherited from UITestActionEventArgs.)
Public property Error Gets the Exception that caused the error.
Public property Result Gets or sets the result of the associated action.

Top

See Also

Reference

UITestErrorEventArgs Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace