共用方式為


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 型別會公開下列成員。

建構函式

  名稱 說明
受保護的方法 UITechnologyManagerProxy 初始化指定之技術的委派。

回頁首

屬性

  名稱 說明
公用屬性 TechnologyName 取得這個技術管理員支援的方法名稱。 (覆寫 UITechnologyManager.TechnologyName。)

回頁首

方法

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

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.TestTools.UITesting 命名空間