NativeActivityContext.ScheduleActivity Method (Activity, CompletionCallback)

.NET Framework (current version)

Schedules the specified NativeActivity child activity for execution using the specified completion callback location where the parent process resumes upon completion of the activity.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public ActivityInstance ScheduleActivity(
	Activity activity,
	CompletionCallback onCompleted


Type: System.Activities.Activity

A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.

Type: System.Activities.CompletionCallback

A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityAction.

Return Value

Type: System.Activities.ActivityInstance

An activity instance.

.NET Framework
Available since 4.0
Return to top