AutomationRemoteOperationStatus Enum
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.
Specifies the possible execution states of a CoreAutomationRemoteOperation.
public enum class AutomationRemoteOperationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 65536)]
enum class AutomationRemoteOperationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 65536)]
public enum AutomationRemoteOperationStatus
Public Enum AutomationRemoteOperationStatus
- Inheritance
-
AutomationRemoteOperationStatus
- 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)
|
Fields
Name | Value | Description |
---|---|---|
Success | 0 | The operation completed successfully. |
MalformedBytecode | 1 | The bytecode specified in the Execute method was malformed. For example, the bytecode stream might contain fewer bytes than expected depending on the instruction opcodes parsed. |
InstructionLimitExceeded | 2 | The operation exceeded the instruction limit imposed by the remote operation virtual machine. A remote operation must not execute for so long that it takes over the UI thread of an application (UI Automation provider). |
UnhandledException | 3 | A single instruction in the remote operation failed and was not handled in a try-block. For example, if a UI Automation provider returns an error such as UIA_E_ELEMENTNOTAVAILABLE, the instruction fails and, if left unhandled, an instruction evaluation failure occurs. Use the AutomationRemoteOperationResult.ExtendedError property to get additional information and diagnostics for the error that caused the failure. |
ExecutionFailure | 4 | A generic execution failure. Use the AutomationRemoteOperationResult.ExtendedError property to get additional information and diagnostics. For example, ExtendedError is set to UIA_E_TIMEOUT if the the target application is unresponsive and the operation times out. |
Applies to
See also
- Status
- <xref:Windows.UI.UIAutomation.Core.AutomationRemoteOperationResult.ErrorLocation+T%3aWindows.UI.UIAutomation.Core.CoreAutomationRemoteOperation>