Piccolo.NET

PRoot.AddActivity Method 

Overridden. Add an activity to the activity scheduler associated with this root.

public override bool AddActivity(
   PActivity activity
);

Parameters

activity
The new activity to scheduled.

Return Value

True if the activity is successfully scheduled; otherwise, false.

Remarks

Activities are given a chance to run during each call to the root's ProcessInputs method. When the activity has finished running it will automatically get removed.

See Also

PRoot Class | UMD.HCIL.Piccolo Namespace