RemoteAutomationClientSession.CreateWindowAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在父 AutomationElement 和子远程窗口之间创建父子关系。
public:
virtual IAsyncOperation<RemoteAutomationWindow ^> ^ CreateWindowAsync(unsigned long long remoteWindowId, unsigned int remoteProcessId, Platform::Object ^ parentAutomationElement) = CreateWindowAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RemoteAutomationWindow> CreateWindowAsync(uint64_t const& remoteWindowId, uint32_t const& remoteProcessId, IInspectable const& parentAutomationElement);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RemoteAutomationWindow> CreateWindowAsync(ulong remoteWindowId, uint remoteProcessId, object parentAutomationElement);
function createWindowAsync(remoteWindowId, remoteProcessId, parentAutomationElement)
Public Function CreateWindowAsync (remoteWindowId As ULong, remoteProcessId As UInteger, parentAutomationElement As Object) As IAsyncOperation(Of RemoteAutomationWindow)
参数
- remoteWindowId
-
UInt64
unsigned long long
uint64_t
窗口的唯一标识符。
- remoteProcessId
-
UInt32
unsigned int
uint32_t
窗口的唯一进程标识符。
- parentAutomationElement
-
Object
Platform::Object
IInspectable
窗口的父元素。
返回
返回用于控制异步操作的 IAsyncAction 对象。
- 属性