AutomationInteropProvider Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides support for communication between UI Automation providers and UI Automation client applications.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)


public static class AutomationInteropProvider


Gets a value that specifies whether any UI Automation client application is subscribed to UI Automation events.


Returns a UI Automation provider that represents the specified window.

System_CAPS_pubmethodSystem_CAPS_staticRaiseAutomationEvent(AutomationEvent, IRawElementProviderSimple, AutomationEventArgs)

Raises a pattern event or a custom event.

System_CAPS_pubmethodSystem_CAPS_staticRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple, AutomationPropertyChangedEventArgs)

Raises an event when a UI Automation property has changed. 

System_CAPS_pubmethodSystem_CAPS_staticRaiseStructureChangedEvent(IRawElementProviderSimple, StructureChangedEventArgs)

Raises an event when the UI Automation tree has changed.

System_CAPS_pubmethodSystem_CAPS_staticReturnRawElementProvider(IntPtr, IntPtr, IntPtr, IRawElementProviderSimple)

Returns the UI automation provider for an element in response to a WM_GETOBJECT message.


Contains a value that, when returned as the first element of the array passed by the UI Automation provider to GetRuntimeId, indicates that the ID is partial and should be appended to the ID provided by the base provider.


Specifies the maximum number of events to send before batching.


The maximum number of events to send before batching for items in containers.


Contains a value used in the lParam member of a WM_GETOBJECT message, indicating that the server should return a reference to the root raw element provider.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top