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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

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