Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides event arguments for exceptions that are thrown when an error occurs when processing tests in the user interface (UI).
Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Inheritance Hierarchy
System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionEventArgs
      Microsoft.VisualStudio.TestTools.UITest.Common.UITestErrorEventArgs
Syntax
public class UITestErrorEventArgs : UITestActionEventArgs
public ref class UITestErrorEventArgs : UITestActionEventArgs
type UITestErrorEventArgs = 
    class
        inherit UITestActionEventArgs
    end
Public Class UITestErrorEventArgs
    Inherits UITestActionEventArgs
Constructors
| Name | Description | |
|---|---|---|
| .gif) | UITestErrorEventArgs(UITestAction, Exception) | Initializes a new instance of the T:Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestErrorEventArgs class by using the provided action and exception. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Action | Gets the associated UITestAction object.(Inherited from UITestActionEventArgs.) | 
| .jpeg) | Error | Gets the Exception that caused the error. | 
| .jpeg) | Result | Gets or sets the result of the associated action. | 
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals(Object) | (Inherited from Object.) | 
| .gif) | Finalize() | (Inherited from Object.) | 
| .gif) | GetHashCode() | (Inherited from Object.) | 
| .gif) | GetType() | (Inherited from Object.) | 
| .gif) | MemberwiseClone() | (Inherited from Object.) | 
| .gif) | ToString() | (Inherited from Object.) | 
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
T:Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestActionEventArgs
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top