Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Schedules a NativeActivity child activity for execution.
ScheduleActivity(Activity) |
Schedules the specified NativeActivity child activity for execution. |
ScheduleActivity(Activity, CompletionCallback) |
Schedules the specified NativeActivity child activity for execution using the specified completion callback location where the parent process resumes upon completion of the activity. |
ScheduleActivity(Activity, FaultCallback) |
Schedules the specified NativeActivity child activity for execution using the specified fault callback location where the parent process resumes when the activity enters the faulted state. |
ScheduleActivity(Activity, CompletionCallback, FaultCallback) |
Schedules the specified NativeActivity child activity for execution and bookmarks the specified callback locations where the parent process resumes upon completion of the child activity. |
ScheduleActivity<TResult>(Activity<TResult>, CompletionCallback<TResult>, FaultCallback) |
Schedules the specified NativeActivity child activity for execution, with one parameter for an |
Schedules the specified NativeActivity child activity for execution.
public:
System::Activities::ActivityInstance ^ ScheduleActivity(System::Activities::Activity ^ activity);
public System.Activities.ActivityInstance ScheduleActivity(System.Activities.Activity activity);
member this.ScheduleActivity : System.Activities.Activity -> System.Activities.ActivityInstance
Public Function ScheduleActivity (activity As Activity) As ActivityInstance
A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
An activity instance.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Schedules the specified NativeActivity child activity for execution using the specified completion callback location where the parent process resumes upon completion of the activity.
public:
System::Activities::ActivityInstance ^ ScheduleActivity(System::Activities::Activity ^ activity, System::Activities::CompletionCallback ^ onCompleted);
public System.Activities.ActivityInstance ScheduleActivity(System.Activities.Activity activity, System.Activities.CompletionCallback onCompleted);
member this.ScheduleActivity : System.Activities.Activity * System.Activities.CompletionCallback -> System.Activities.ActivityInstance
Public Function ScheduleActivity (activity As Activity, onCompleted As CompletionCallback) As ActivityInstance
A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityAction.
An activity instance.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Schedules the specified NativeActivity child activity for execution using the specified fault callback location where the parent process resumes when the activity enters the faulted state.
public:
System::Activities::ActivityInstance ^ ScheduleActivity(System::Activities::Activity ^ activity, System::Activities::FaultCallback ^ onFaulted);
public System.Activities.ActivityInstance ScheduleActivity(System.Activities.Activity activity, System.Activities.FaultCallback onFaulted);
member this.ScheduleActivity : System.Activities.Activity * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleActivity (activity As Activity, onFaulted As FaultCallback) As ActivityInstance
A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityAction.
An activity instance.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Schedules the specified NativeActivity child activity for execution and bookmarks the specified callback locations where the parent process resumes upon completion of the child activity.
public:
System::Activities::ActivityInstance ^ ScheduleActivity(System::Activities::Activity ^ activity, System::Activities::CompletionCallback ^ onCompleted, System::Activities::FaultCallback ^ onFaulted);
public System.Activities.ActivityInstance ScheduleActivity(System.Activities.Activity activity, System.Activities.CompletionCallback onCompleted, System.Activities.FaultCallback onFaulted);
member this.ScheduleActivity : System.Activities.Activity * System.Activities.CompletionCallback * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleActivity (activity As Activity, onCompleted As CompletionCallback, onFaulted As FaultCallback) As ActivityInstance
A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
A bookmark that indicates where the NativeActivity execution resumes upon completion of the ActivityAction.
A bookmark that indicates where the NativeActivity execution resumes if an error causes the termination of the ActivityAction.
An instance of an activity.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Schedules the specified NativeActivity child activity for execution, with one parameter for an in
argument, and bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityAction<T>.
public System.Activities.ActivityInstance ScheduleActivity<TResult>(System.Activities.Activity<TResult> activity, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleActivity : System.Activities.Activity<'Result> * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleActivity(Of TResult) (activity As Activity(Of TResult), Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
The type of the NativeActivity child activity out
argument.
A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
A bookmark that indicates where the NativeActivity execution resumes upon completion of the ActivityAction<T>.
A bookmark that indicates where the NativeActivity execution resumes if an error causes the termination of the ActivityAction.
An instance of an activity.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in