Share via


AutomationConnectionBoundObject クラス

定義

特定の UI オートメーション プロバイダー接続に関連付けられているオブジェクトを表します。

public ref class AutomationConnectionBoundObject sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AutomationConnectionBoundObject final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AutomationConnectionBoundObject
Public NotInheritable Class AutomationConnectionBoundObject
継承
Object Platform::Object IInspectable AutomationConnectionBoundObject
属性

Windows の要件

デバイス ファミリ
Windows 11 (10.0.22000.0 で導入)
API contract
Windows.UI.UIAutomation.UIAutomationContract (v2.0 で導入)

注釈

UI オートメーション (UIA) クライアントは、接続バインドされたオブジェクトをリモート操作にインポートし、拡張機能を呼び出すときにターゲット オブジェクトとして使用するか、拡張機能にオペランドとして渡します。

プロバイダー側拡張ハンドラーは、リモート操作が評価されるスレッドで常に実行されます。 プロバイダーがオペランドを接続バインド オブジェクトに設定するたびに、このオブジェクトのスレッド モデルは、プロバイダーの ICoreAutomationConnectionBoundObjectProvider インターフェイスの実装の IsComThreadingRequired プロパティの値によって決まります。 このプロパティが true で、リモート操作の結果として接続バインド オブジェクトが返された場合、接続バインド オブジェクトは、オブジェクトを最初に導入したリモート操作が評価されたアパートメントにバインドされます。

このオブジェクトは、UIA プロバイダーによって実装される ICoreAutomationConnectionBoundObjectProvider をラップします。

プロパティ

Connection

接続バインド オブジェクトの接続の詳細を取得します。

適用対象

こちらもご覧ください