.net Object marshalling from/into extension

Does a .net extension run inside an app domain or is it consumed as a reference and share the same app domain as the code generated by actions?

If the extension code runs in an app domain how are objects returned by the extension marshalled (MarshallByRefObject or Serialization)?

I'm planning an extension that returns a .net object in one method and then accepts the object back in other methods.


Hi Pedro,

I'm not entirely sure about the app domain but I believe all OS code is executed under the same app domain.

Your use case is pretty common. You can create two actions, one that returns an object type and another one that accepts an object as input:

1. Set the output parameter data type as object

2. Set the input parameter data type as object

Then your extension implements the logic to handle those objects.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.