UITestWarningEventArgs Class
Provides event arguments for warning exceptions that occur during processing of a UITestAction.
Inheritance Hierarchy
Object
EventArgs
Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionEventArgs
Microsoft.VisualStudio.TestTools.UITest.Common.UITestWarningEventArgs
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Class UITestWarningEventArgs _
Inherits UITestActionEventArgs
public class UITestWarningEventArgs : UITestActionEventArgs
public ref class UITestWarningEventArgs : public UITestActionEventArgs
type UITestWarningEventArgs =
class
inherit UITestActionEventArgs
end
public class UITestWarningEventArgs extends UITestActionEventArgs
The UITestWarningEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UITestWarningEventArgs | Initializes a new instance of the UITestWarningEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
Action | Gets the associated UITestAction object. (Inherited from UITestActionEventArgs.) | |
Error | Gets the associated exception for this event. | |
WarningMessage | Gets or sets the text of the warning message. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.