# InvocationResult

**Kind**: interface | **Module**: [Interop](https://docs.interop.io/desktop/reference/javascript/interop/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/interop/invocationresult/index.html

Extends [`InvocationResultCore`](https://docs.interop.io/desktop/reference/javascript/interop/invocationresultcore/index.md). Results from a method invocation.

## Properties

- **`all_errors`** (`any[]`, optional)
  An array of error objects.
- **`all_return_values`** (`Array<InvocationResultCore<T>>`, optional)
  An array of invocation results.
- **`called_with`** (`any`, required)
  Arguments of the invocation.
- **`executed_by`** (`Instance`, optional)
  Instance of the application that executed the method.
- **`message`** (`string`, required)
  Message from the application that executed the method.
- **`method`** (`MethodDefinition`, required)
  Method definition of the method that was invoked.
- **`returned`** (`T`, required)
  Returned object.
- **`status`** (`number`, optional)
  Status sent by the application that executed the method.

## Related types

- [Instance](https://docs.interop.io/desktop/reference/javascript/interop/instance/index.md)
- [InvocationResultCore](https://docs.interop.io/desktop/reference/javascript/interop/invocationresultcore/index.md)
- [MethodDefinition](https://docs.interop.io/desktop/reference/javascript/interop/methoddefinition/index.md)
