ClientSideProviderDescription Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ClientSideProviderDescription class.
Overloads
ClientSideProviderDescription(ClientSideProviderFactoryCallback, String) |
Initializes a new instance of the ClientSideProviderDescription class. |
ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator) |
Initializes a new instance of the ClientSideProviderDescription class. |
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
Public Sub New (clientSideProviderFactoryCallback As ClientSideProviderFactoryCallback, className As String)
Parameters
- clientSideProviderFactoryCallback
- ClientSideProviderFactoryCallback
The method that creates the client-side provider for a window.
- className
- 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
- Register a Client-side Provider Assembly
- Create Client-side UI Automation Providers
- Implement UI Automation Providers in a Client Application
Applies to
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
Public Sub New (clientSideProviderFactoryCallback As ClientSideProviderFactoryCallback, className As String, imageName As String, flags As ClientSideProviderMatchIndicator)
Parameters
- clientSideProviderFactoryCallback
- ClientSideProviderFactoryCallback
The method that creates the client-side provider for a window.
- className
- String
The class name of the window that the provider is used for.
- imageName
- String
The name of the executable or DLL for the process where the window resides.
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
- Register a Client-side Provider Assembly
- Create Client-side UI Automation Providers
- Implement UI Automation Providers in a Client Application