ClientSideProviderDescription Constructor (ClientSideProviderFactoryCallback, String)


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

Initializes a new instance of the ClientSideProviderDescription class.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public ClientSideProviderDescription(
	ClientSideProviderFactoryCallback clientSideProviderFactoryCallback,
	string className


Type: System.Windows.Automation.ClientSideProviderFactoryCallback

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

Type: System.String

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

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.

.NET Framework
Available since 3.0
Return to top