UITestJScriptExecutionException 类

定义

所有 UITest 异常的基类。

public ref class UITestJScriptExecutionException : Microsoft::VisualStudio::TestTools::UITest::Extension::UITestException
[System.Serializable]
public class UITestJScriptExecutionException : Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException
[<System.Serializable>]
type UITestJScriptExecutionException = class
    inherit UITestException
Public Class UITestJScriptExecutionException
Inherits UITestException
继承
UITestJScriptExecutionException
属性

构造函数

UITestJScriptExecutionException()

默认构造函数。

UITestJScriptExecutionException(SerializationInfo, StreamingContext)

反序列化构造函数。

UITestJScriptExecutionException(String)

使用消息创建新实例。

UITestJScriptExecutionException(String, Exception)

使用消息和内部异常创建新实例。

属性

BasicMessage

获取基本错误消息。

(继承自 UITestException)
DefaultMessage

此异常类型的默认消息。 这通常由派生的异常类重写,以提供其自己的默认消息。 如果用户未显式设置任何消息,则 BasicMessage 和 base 将使用默认消息。消息。

ErrorInfo

获取或设置导致异常的 UI 测试操作的相关信息。

(继承自 UITestException)
ExceptionSource

获取或设置作为此异常的源的控件。

(继承自 UITestException)
HResult

获取或设置此异常的 HRESULT。

(继承自 UITestException)
Message

获取创建此异常对象时所提供的消息。

(继承自 UITestException)

方法

GetObjectData(SerializationInfo, StreamingContext) (继承自 UITestException)
SetHResult(UInt32)

为此异常设置相应的 HRESULT。

(继承自 UITestException)

适用于