Partager via


IUITestEventNotify Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides an interface to be implemented by the test recording and playback engine and consumed by IUITechnologyManager objects to implement callback notifications.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
<GuidAttribute("A797EFDD-A6B4-4EE9-83A8-7F8CB36EB306")> _
<ComVisibleAttribute(True)> _
Public Interface IUITestEventNotify
[GuidAttribute("A797EFDD-A6B4-4EE9-83A8-7F8CB36EB306")]
[ComVisibleAttribute(true)]
public interface IUITestEventNotify
[GuidAttribute(L"A797EFDD-A6B4-4EE9-83A8-7F8CB36EB306")]
[ComVisibleAttribute(true)]
public interface class IUITestEventNotify
[<GuidAttribute("A797EFDD-A6B4-4EE9-83A8-7F8CB36EB306")>]
[<ComVisibleAttribute(true)>]
type IUITestEventNotify =  interface end
public interface IUITestEventNotify

The IUITestEventNotify type exposes the following members.

Methods

  Name Description
Public method Notify 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 method NotifyMultiSource 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.

Top

Remarks

The IUITechnologyManager should only consume this interface and never implement it.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyManager