ClientSideProviderDescription ClientSideProviderDescription ClientSideProviderDescription Constructors

Definition

Overloads

ClientSideProviderDescription(ClientSideProviderFactoryCallback, String) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String)

Initializes a new instance of the ClientSideProviderDescription class.

ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator)

Initializes a new instance of the ClientSideProviderDescription class.

ClientSideProviderDescription(ClientSideProviderFactoryCallback, String) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String)

Initializes a new instance of the ClientSideProviderDescription class.

public:
 ClientSideProviderDescription(System::Windows::Automation::ClientSideProviderFactoryCallback ^ clientSideProviderFactoryCallback, System::String ^ className);
public ClientSideProviderDescription (System.Windows.Automation.ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className);
new System.Windows.Automation.ClientSideProviderDescription : System.Windows.Automation.ClientSideProviderFactoryCallback * string -> System.Windows.Automation.ClientSideProviderDescription

Parameters

clientSideProviderFactoryCallback
ClientSideProviderFactoryCallback ClientSideProviderFactoryCallback ClientSideProviderFactoryCallback

The method that creates the client-side provider for a window.

className
String String String

The class name of the windows that the provider is used for.

Examples

For example code, see Create a Client-Side UI Automation Provider.

Remarks

When UI Automation encounters a window of class className, it calls clientSideProviderFactoryCallback to create an instance of the client-side provider.

If className is null, the provider is used for all windows for which no other provider is found.

See also

ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator) ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator)

Initializes a new instance of the ClientSideProviderDescription class.

public:
 ClientSideProviderDescription(System::Windows::Automation::ClientSideProviderFactoryCallback ^ clientSideProviderFactoryCallback, System::String ^ className, System::String ^ imageName, System::Windows::Automation::ClientSideProviderMatchIndicator flags);
public ClientSideProviderDescription (System.Windows.Automation.ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, System.Windows.Automation.ClientSideProviderMatchIndicator flags);
new System.Windows.Automation.ClientSideProviderDescription : System.Windows.Automation.ClientSideProviderFactoryCallback * string * string * System.Windows.Automation.ClientSideProviderMatchIndicator -> System.Windows.Automation.ClientSideProviderDescription

Parameters

clientSideProviderFactoryCallback
ClientSideProviderFactoryCallback ClientSideProviderFactoryCallback ClientSideProviderFactoryCallback

The method that creates the client-side provider for a window.

className
String String String

The class name of the window that the provider is used for.

imageName
String String String

The name of the executable or DLL for the process where the window resides.

flags
ClientSideProviderMatchIndicator ClientSideProviderMatchIndicator ClientSideProviderMatchIndicator

Flags that specify behavior when matching window class names.

Remarks

When UI Automation encounters a window of class className within the process specified by imageName, it calls clientSideProviderFactoryCallback to create an instance of the client-side provider.

If className is null, the provider is used for all windows for which no other provider is found.

If imageName is null, the provider is used for all processes containing the window class.

See also

Applies to