Share via


AutomationRemoteOperationResult Class

Definition

Provides access to the execution results (status and remote objects) of a CoreAutomationRemoteOperation.

public ref class AutomationRemoteOperationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AutomationRemoteOperationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AutomationRemoteOperationResult
Public NotInheritable Class AutomationRemoteOperationResult
Inheritance
Object Platform::Object IInspectable AutomationRemoteOperationResult
Attributes

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.UI.UIAutomation.UIAutomationContract (introduced in v1.0)

Remarks

An instance of this runtime class is returned by the CoreAutomationRemoteOperation.Execute(System.Byte[]) method.

Properties

ErrorLocation

Gets an reference to the instruction in the bytecode stream where the remote operation Status does not return Success.

ExtendedError

Gets additional error information when the remote operation Status returns InstructionEvaluationFailure or ExecutionFailure.

Status

Gets the execution state of a CoreAutomationRemoteOperation.

Methods

GetOperand(AutomationRemoteOperationOperandId)

Retrieves the value returned from the remote operation on the UIA provider.

HasOperand(AutomationRemoteOperationOperandId)

Retrieves a value indicating whether the specified operand has a value returned from the remote operation on the UIA provider.

Applies to