Share via


UITestErrorEventArgs Class

 

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
System_CAPS_pubmethod 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
System_CAPS_pubproperty Action

Gets the associated UITestAction object.(Inherited from UITestActionEventArgs.)

System_CAPS_pubproperty Error

Gets the Exception that caused the error.

System_CAPS_pubproperty Result

Gets or sets the result of the associated action.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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