ClientSideProviderDescription コンストラクター
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ClientSideProviderDescription クラスの新しいインスタンスを初期化します。
ClientSideProviderDescription(ClientSideProviderFactoryCallback, String)
ClientSideProviderDescription クラスの新しいインスタンスを初期化します。
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)
パラメーター
- clientSideProviderFactoryCallback
- ClientSideProviderFactoryCallback
ウィンドウのクライアント側プロバイダーを作成するメソッド。
- className
- String
プロバイダーが使用されるウィンドウのクラス名。
例
コード例については、「Client-Side UI オートメーション プロバイダーの作成」を参照してください。
注釈
UI オートメーションがクラスclassName
のウィンドウを検出すると、クライアント側プロバイダーのインスタンスを作成するために呼び出clientSideProviderFactoryCallback
されます。
その場合 className
、 null
プロバイダーは、他のプロバイダーが見つからないすべてのウィンドウに使用されます。
こちらもご覧ください
適用対象
.NET Framework 4.8 およびその他のバージョン
製品 | バージョン |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |
ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator)
ClientSideProviderDescription クラスの新しいインスタンスを初期化します。
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)
パラメーター
- clientSideProviderFactoryCallback
- ClientSideProviderFactoryCallback
ウィンドウのクライアント側プロバイダーを作成するメソッド。
- className
- String
プロバイダーが使用されるウィンドウのクラス名。
- imageName
- String
ウィンドウを格納しているプロセスの実行可能ファイルまたは DLL の名前。
ウィンドウのクラス名を照合するときの動作を指定するフラグ。
注釈
UI オートメーションによって指定されたimageName
プロセス内でクラスclassName
のウィンドウが検出されると、クライアント側プロバイダーのインスタンスを作成する呼び出しが行clientSideProviderFactoryCallback
われます。
その場合 className
、 null
プロバイダーは、他のプロバイダーが見つからないすべてのウィンドウに使用されます。
その場合 imageName
、 null
プロバイダーはウィンドウ クラスを含むすべてのプロセスに使用されます。
こちらもご覧ください
適用対象
.NET Framework 4.8 およびその他のバージョン
製品 | バージョン |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |