UITestWarningEventArgs Class

 

Provides event arguments for warning exceptions that occur during processing of a UITestAction.

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.UITestWarningEventArgs

Syntax

public class UITestWarningEventArgs : UITestActionEventArgs
public ref class UITestWarningEventArgs : UITestActionEventArgs
type UITestWarningEventArgs = 
    class
        inherit UITestActionEventArgs
    end
Public Class UITestWarningEventArgs
    Inherits UITestActionEventArgs

Constructors

Name Description
System_CAPS_pubmethod UITestWarningEventArgs(UITestAction, Exception, String)

Initializes a new instance of the UITestWarningEventArgs class.

Properties

Name Description
System_CAPS_pubproperty Action

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

System_CAPS_pubproperty Error

Gets the associated exception for this event.

System_CAPS_pubproperty WarningMessage

Gets or sets the text of the warning message.

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

UITestAction
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top