Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UITestException Properties

UITestException Properties

The UITestException type exposes the following members.

Public property BasicMessage Gets the basic error message.
Public property Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)
Protected property DefaultMessage When overridden in a derived class, gets the default message for the specific exception type.
Public property ErrorInfo Gets or sets information about the UI test action that caused the exception.
Public property ExceptionSource Gets or sets the control that is the source of this exception.
Public property HelpLink Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)
Public property HResult Gets or sets the HRESULT for this exception.
Public property InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Public property Message Gets the message that was provided when this exception object was created. (Overrides Exception.Message.)
Public property Source Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
Public property StackTrace Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.)
Public property TargetSite Gets the method that throws the current exception. (Inherited from Exception.)

Community Additions

© 2015 Microsoft