共用方式為


UITechnologyManagerProxy 類別

Proxy 技術管理員類別。

擴充外掛程式必須覆寫這個自訂其技術管理員行為。

繼承階層架構

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 使用特定技術的 Proxy。

回頁首

屬性

  名稱 描述
公用屬性 TechnologyName 取得這個技術管理員不支援的技術名稱。 (覆寫 UITechnologyManager.TechnologyName。)

回頁首

方法

  名稱 描述
公用方法 AddEventHandler 加入事件處理常式。 (覆寫 UITechnologyManager.AddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)。)
公用方法 AddGlobalEventHandler 若要將全域接收到外掛程式引發的通知動作 (覆寫 UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify)。)
公用方法 CancelStep 取消此技術管理員或搜尋執行的任何等候由於呼叫 WaitForReady 或搜尋方法。 (覆寫 UITechnologyManager.CancelStep()。)
公用方法 ConvertToExtensionElement 核心轉換成延伸項目。擴充這個 Proxy 技術管理員的所有外掛程式必須實作此和建立與核心技術項目和增益集管理員複製的簡單的轉換。其他像是:公用覆寫 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() 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 命名空間