Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestException Class

 

Represents the base class for all UI test exceptions.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)


[SerializableAttribute]
public class UITestException : Exception

NameDescription
System_CAPS_pubmethodUITestException()

Initializes a new instance of the UITestException class.

System_CAPS_protmethodUITestException(SerializationInfo, StreamingContext)

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

System_CAPS_pubmethodUITestException(String)

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

System_CAPS_pubmethodUITestException(String, Exception)

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

NameDescription
System_CAPS_pubpropertyBasicMessage

Gets the basic error message.

System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_protpropertyDefaultMessage

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

System_CAPS_pubpropertyErrorInfo

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

System_CAPS_pubpropertyExceptionSource

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

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

Gets or sets the HRESULT for this exception.

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

Gets the message that was provided when this exception object was created.(Overrides Exception.Message.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)
System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetHResult(UInt32)

Sets the corresponding HRESULT for this exception.

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: