RemoteAutomationClientSession.CreateWindowAsync Method
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.
Creates a parent-child relationship between a parent AutomationElement and a child remote window.
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)
Parameters
- remoteWindowId
-
UInt64
unsigned long long
uint64_t
The unique identifier for the window.
- remoteProcessId
-
UInt32
unsigned int
uint32_t
The unique process identifier for the window.
- parentAutomationElement
-
Object
Platform::Object
IInspectable
The parent element for the window.
Returns
Returns an IAsyncAction object that is used to control the asynchronous operation.
- Attributes