ClientSideProviderDescription Constructor (ClientSideProviderFactoryCallback, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

clientSideProviderFactoryCallback
Type: System.Windows.Automation.ClientSideProviderFactoryCallback

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

className
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
Show: