workflow foundation 4 - WF4 : Custom activity with child activity -


how can create custom activity workflow foundation 4 host child activity (or several)?

the idea create similar trycatch activity can specify activity goes in try part , in part. need own custom business logic.

derive nativeactivity. use public properties hold children. like

public activity body { get; set; } 

override nativeactivityexecute(). call nativeactivitycontext.scheduleactivity(this.body). use overload takes completion handlers - if want kind of sequential execution, is, because scheduled activities executed after execute() returns.

this basics.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -