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# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -