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
Post a Comment