Export (0) Print
Expand All

ProviderOptions Enumeration

Contains values that specify the type of UI Automation provider.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum ProviderOptions

Member nameDescription
ClientSideProviderThe UI Automation provider is a client-side provider.
NonClientAreaProviderThe UI Automation provider is a non-client-area provider.
OverrideProviderThe UI Automation provider overrides another provider.
ProviderOwnsSetFocusThe UI Automation provider handles its own focus, and does not want UI Automation to set focus to the nearest window on its behalf when SetFocus is called. This option is typically used by providers for windows that appear to take focus without actually receiving Win32 focus, such as menus and drop-down menus.
ServerSideProviderThe UI Automation provider is a server-side provider.
UseComThreadingThe UI Automation provider expects to be called according to COM threading rules. If the provider is in a Single-Threaded Apartment, it will be called only on the apartment thread. Only Server-side providers can use this option.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft