Derive from NativeActivity. Use public properties to keep your children. how
public Activity Body { get; set; }
override NativeActivityExecute (). Call NativeActivityContext.ScheduleActivity (this.Body). Use the overload that accepts completion handlers - if you want some kind of sequential execution, that is because the scheduled actions are only executed after Execute () returns.
These are the basics.
Tim Lovell-Smith
source share