UITestErrorEventArgs 類別
針對在使用者介面 (UI)中處理測試發生錯誤時擲回的例外狀況的事件引數。
繼承階層架構
Object
EventArgs
Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionEventArgs
Microsoft.VisualStudio.TestTools.UITest.Common.UITestErrorEventArgs
命名空間: Microsoft.VisualStudio.TestTools.UITest.Common
組件: Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
語法
'宣告
Public Class UITestErrorEventArgs _
Inherits UITestActionEventArgs
public class UITestErrorEventArgs : UITestActionEventArgs
public ref class UITestErrorEventArgs : public UITestActionEventArgs
type UITestErrorEventArgs =
class
inherit UITestActionEventArgs
end
public class UITestErrorEventArgs extends UITestActionEventArgs
UITestErrorEventArgs 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
UITestErrorEventArgs | 使用提供的動作和例外狀況,初始化 UITestErrorEventArgs 類別的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Action | 取得關聯的 UITestAction 物件。 (繼承自 UITestActionEventArgs)。 |
![]() |
Error | 取得導致錯誤的 Exception。 |
![]() |
Result | 取得或設定相關聯的動作的結果。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 |
![]() |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。