IUITestEventNotify.Notify 方法
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
命名空間: Microsoft.VisualStudio.TestTools.UITest.Extension
組件: Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
語法
'宣告
Sub Notify ( _
source As IUITechnologyElement, _
target As IUITechnologyElement, _
eventType As UITestEventType, _
eventArgs As Object _
)
void Notify(
IUITechnologyElement source,
IUITechnologyElement target,
UITestEventType eventType,
Object eventArgs
)
void Notify(
IUITechnologyElement^ source,
IUITechnologyElement^ target,
UITestEventType eventType,
Object^ eventArgs
)
abstract Notify :
source:IUITechnologyElement *
target:IUITechnologyElement *
eventType:UITestEventType *
eventArgs:Object -> unit
function Notify(
source : IUITechnologyElement,
target : IUITechnologyElement,
eventType : UITestEventType,
eventArgs : Object
)
參數
- source
型別:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
IUITechnologyElement ,表示來源項目。
- target
型別:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
IUITechnologyElement ,表示目標項目。
- eventType
型別:Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType
UITestEventType 列舉的成員,可指定事件的型別。
- eventArgs
型別:System.Object
為事件提供的 EventArgs 物件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。