UITestException Class

Definition

Represents the base class for all UI test exceptions.

public ref class UITestException : Exception
[System.Serializable]
public class UITestException : Exception
[<System.Serializable>]
type UITestException = class
    inherit Exception
Public Class UITestException
Inherits Exception
Inheritance
UITestException
Derived
Attributes

Constructors

UITestException()

Initializes a new instance of the UITestException class.

UITestException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestException class to deserialize the exception.

UITestException(String)

Initializes a new instance of the UITestException class by using the given error message.

UITestException(String, Exception)

Initializes a new instance of the UITestException class by using the provided message and inner exception.

Properties

BasicMessage

Gets the basic error message.

DefaultMessage

When overridden in a derived class, gets the default message for the specific exception type.

ErrorInfo

Gets or sets information about the UI test action that caused the exception.

ExceptionSource

Gets or sets the control that is the source of this exception.

HResult

Gets or sets the HRESULT for this exception.

Message

Gets the message that was provided when this exception object was created.

Methods

GetObjectData(SerializationInfo, StreamingContext)
SetHResult(UInt32)

Sets the corresponding HRESULT for this exception.

Applies to