Error Codes
This topic describes the error codes exposed by Microsoft UI Automation. The list is sorted alphabetically by name.
| Constant/value | Description |
|---|---|
|
Indicates that a method was called on a virtualized element, or on an element that no longer exists, usually because it has been destroyed. |
|
Indicates that a method that requires an enabled element, such as Select or Expand, was called on an element that was disabled. |
|
Indicates that the method attempted an operation that was not valid. |
|
Indicates that the GetClickablePoint method was called on an element that has no clickable point. |
|
Indicates that the provider explicitly does not support the specified property or control pattern. UI Automation will return this error code to the caller without attempting to provide a default value or falling back to another provider. |
|
Indicates that a problem occurred when loading an assembly that contains a client-side (proxy) provider. |
|
Indicates that the time allotted for a process or operation has expired. |
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|