IUITestEventNotify.Notify Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The callback method for the event added via IUITechnologyManager.AddEventHandler. The callback should occur on a different thread than the one used to add the event handler to make sure that the callback is not blocking adding and removing of the event handlers.
public:
void Notify(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ source, Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ target, Microsoft::VisualStudio::TestTools::UITest::Extension::UITestEventType eventType, System::Object ^ eventArgs);
public void Notify (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement source, Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement target, Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType eventType, object eventArgs);
abstract member Notify : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType * obj -> unit
Public Sub Notify (source As IUITechnologyElement, target As IUITechnologyElement, eventType As UITestEventType, eventArgs As Object)
Parameters
- source
- IUITechnologyElement
An IUITechnologyElement that represents the source element.
- target
- IUITechnologyElement
An IUITechnologyElement that represents the target element.
- eventType
- UITestEventType
A member of the UITestEventType enumeration that specifies the type of event.