(WF4) They have AsyncCodeActivity, why not AsyncNativeActivity?

AsyncCodeActivity is a nice class for wrapping calls to asynchronous APIs and turning them into activities that can run super-efficiently. But! There are a few limitations to being a subclass of AsyncCodeActivity when compared to NativeActivity. Such as? Here’s a rough list: you can’t have any child activities you can’t create or access Execution Properties (sometimes useful…

4

Basic Activity Scheduling in Workflow 4.0

…NativeActivity. Provides all of the features of CodeActivity, plus aborting activity execution, canceling child activity execution, using bookmarks, and scheduling activities… As of .Net Fx 4.0 Beta 2, the Activity class hierarchy looks a bit like this: Actually this is only a tiny chunk of the Activity class Hierarchy, but it does include every class…

1