UITechnologyManagerProxy 類別
Proxy 技術管理員的類別。
延伸插入必須覆寫這個和自訂其技術管理員行為。
繼承階層架構
System.Object
Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyManager
Microsoft.VisualStudio.TestTools.UITesting.UITechnologyManagerProxy
命名空間: Microsoft.VisualStudio.TestTools.UITesting
組件: Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
語法
'宣告
<ComVisibleAttribute(True)> _
Public MustInherit Class UITechnologyManagerProxy _
Inherits UITechnologyManager
[ComVisibleAttribute(true)]
public abstract class UITechnologyManagerProxy : UITechnologyManager
[ComVisibleAttribute(true)]
public ref class UITechnologyManagerProxy abstract : public UITechnologyManager
[<AbstractClass>]
[<ComVisibleAttribute(true)>]
type UITechnologyManagerProxy =
class
inherit UITechnologyManager
end
public abstract class UITechnologyManagerProxy extends UITechnologyManager
UITechnologyManagerProxy 型別會公開下列成員。
建構函式
回頁首
屬性
回頁首
方法
.gif) |
AddEventHandler |
加入事件處理常式。 (覆寫 UITechnologyManager.AddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)。) |
.gif) |
AddGlobalEventHandler |
加入全域接收告知外掛程式引發事件的動作。 (覆寫 UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify)。) |
.gif) |
CancelStep |
移除這個技術管理員或搜尋作業執行的所有等候呼叫 WaitForReady 或搜尋方法。 (覆寫 UITechnologyManager.CancelStep()。) |
.gif) |
ConvertToExtensionElement |
核心項目轉換成副檔名為項目。擴充這個委派技術管理員的所有外掛程式必須實作這個和用核心技術項目和 [擴充管理員] 的複本來建立簡單的轉換。不像是這樣:公用覆寫 IUITechnologyElement ConvertToExtensionElement (IUITechnologyElement coreElement) {0} ExtensionTechnologyElement extensionElement = new ExtensionTechnologyElement();這 extensionElement.ExtensionTechnologyManager =;extensionElement.CoreTechnologyElement = coreElement;傳回 extensionElement;。 |
.gif) |
ConvertToThisTechnology |
轉換成另一種技術的指定項目轉換成這個技術管理員的新項目的項目。 這個用於作業 (例如在裝載間切換的方式和載入技術。 (覆寫 UITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)。) |
.gif) |
Equals |
判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
.gif) |
Finalize |
允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
.gif) |
GetChildren |
取得指定 IUITechnologyElement 子系的列舉值。 (覆寫 UITechnologyManager.GetChildren(IUITechnologyElement, Object)。) |
.gif) |
GetControlSupportLevel |
取得這個技術管理員支持率項目在特定視窗。 架構會使用此函式針對項目選取正確的技術管理員。 (覆寫 UITechnologyManager.GetControlSupportLevel(IntPtr)。) |
.gif) |
GetElementFromNativeElement |
從指定的原生 (基礎) 技術項目取得項目。 (覆寫 UITechnologyManager.GetElementFromNativeElement(Object)。) |
.gif) |
GetElementFromPoint |
取得位於指定螢幕座標。 (覆寫 UITechnologyManager.GetElementFromPoint(Int32, Int32)。) |
.gif) |
GetElementFromWindowHandle |
從指定之視窗控制代碼取得項目。 (覆寫 UITechnologyManager.GetElementFromWindowHandle(IntPtr)。) |
.gif) |
GetFocusedElement |
取得項目會收到鍵盤事件執行個體中的焦點項目。 (覆寫 UITechnologyManager.GetFocusedElement(IntPtr)。) |
.gif) |
GetHashCode |
做為特定型別的雜湊函式。 (繼承自 Object)。 |
.gif) |
GetLastInvocationInfo |
取得有關技術管理員引動過程的最新的資訊。 (覆寫 UITechnologyManager.GetLastInvocationInfo()。) |
.gif) |
GetNextSibling |
取得指定項目的下一個同層級在使用者介面階層架構。 (覆寫 UITechnologyManager.GetNextSibling(IUITechnologyElement)。) |
.gif) |
GetParent |
取得指定之項目的父代是使用者介面階層架構。 (覆寫 UITechnologyManager.GetParent(IUITechnologyElement)。) |
.gif) |
GetPreviousSibling |
取得指定項目的上一個同層級在使用者介面階層架構。 (覆寫 UITechnologyManager.GetPreviousSibling(IUITechnologyElement)。) |
.gif) |
GetSynchronizationWaiter |
取得指定 UITestEventType 的同步處理侍者位於這個項目。 (覆寫 UITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)。) |
.gif) |
GetTechnologyManagerProperty |
取得技術管理員指定屬性。 (覆寫 UITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty)。) |
.gif) |
GetType |
取得目前執行個體的 Type。 (繼承自 Object)。 |
.gif) |
MatchElement |
(覆寫 UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean%)。) |
.gif) |
MemberwiseClone |
建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
.gif) |
ParseQueryId |
剖析查詢字串並傳回項目會使用 Search() 或 MatchElement() 或 GetChildren() 呼叫期間要求搜尋或比對或取得子系有相同的查詢字串的 parsedQueryIdCookie。 EXT-PROTO1-NOTES:這是必要的動作,讓 QID 之後正確剖析和播放引擎呼叫的外掛程式區段加入至外掛程式 MatchElement() 重複使用 QID 該外掛程式部分。 (覆寫 UITechnologyManager.ParseQueryId(String, Object%)。) |
.gif) |
ProcessMouseEnter |
處理滑鼠、視窗的事件。 (覆寫 UITechnologyManager.ProcessMouseEnter(IntPtr)。) |
.gif) |
RemoveEventHandler |
移除事件處理常式。 (覆寫 UITechnologyManager.RemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)。) |
.gif) |
RemoveGlobalEventHandler |
移除全域接收到外掛程式所引發的 notifiy 動作 (覆寫 UITechnologyManager.RemoveGlobalEventHandler(UITestEventType, IUITestEventNotify)。) |
.gif) |
Search |
(覆寫 UITechnologyManager.Search(Object, IUITechnologyElement, Int32)。) |
.gif) |
SetTechnologyManagerProperty |
設定技術管理員指定屬性。 (覆寫 UITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)。) |
.gif) |
StartSession |
執行這個技術管理員所需的任何初始化以啟動工作階段。 (覆寫 UITechnologyManager.StartSession(Boolean)。) |
.gif) |
StopSession |
執行這個技術管理員所需的所有清除對於停止目前的工作階段。 (覆寫 UITechnologyManager.StopSession()。) |
.gif) |
ToString |
傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。
請參閱
參考
Microsoft.VisualStudio.TestTools.UITesting 命名空間