NativeActivityContext.ScheduleFunc Method
Definition
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.
Overloads
ScheduleFunc<T,TResult>(ActivityFunc<T,TResult>, T, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T,TResult> that has two parameters for a return value and an in
argument and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T,TResult> (System.Activities.ActivityFunc<T,TResult> activityFunc, T argument, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T, 'Result> * 'T * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T, TResult) (activityFunc As ActivityFunc(Of T, TResult), argument As T, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument
- T
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16,TResult>(ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11, T12,T13,T14,T15,T16,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult> that has seventeen parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, T11 argument11, T12 argument12, T13 argument13, T14 argument14, T15 argument15, T16 argument16, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, 'T16, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, argument11 As T11, argument12 As T12, argument13 As T13, argument14 As T14, argument15 As T15, argument16 As T16, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- T11
The data that is carried into an activity.
- T12
The data that is carried into an activity.
- T13
The data that is carried into an activity.
- T14
The data that is carried into an activity.
- T15
The data that is carried into an activity.
- T16
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
A child activity that runs when a specific event occurs in the parent activity, and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- argument11
- T11
An argument that carries data into an activity.
- argument12
- T12
An argument that carries data into an activity.
- argument13
- T13
An argument that carries data into an activity.
- argument14
- T14
An argument that carries data into an activity.
- argument15
- T15
An argument that carries data into an activity.
- argument16
- T16
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, TResult>(ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12, T13,T14,T15,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> that has sixteen parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, T11 argument11, T12 argument12, T13 argument13, T14 argument14, T15 argument15, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, argument11 As T11, argument12 As T12, argument13 As T13, argument14 As T14, argument15 As T15, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- T11
The data that is carried into an activity.
- T12
The data that is carried into an activity.
- T13
The data that is carried into an activity.
- T14
The data that is carried into an activity.
- T15
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out argument.
Parameters
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- argument11
- T11
An argument that carries data into an activity.
- argument12
- T12
An argument that carries data into an activity.
- argument13
- T13
An argument that carries data into an activity.
- argument14
- T14
An argument that carries data into an activity.
- argument15
- T15
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult> that has fifteen parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, T11 argument11, T12 argument12, T13 argument13, T14 argument14, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, argument11 As T11, argument12 As T12, argument13 As T13, argument14 As T14, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- T11
The data that is carried into an activity.
- T12
The data that is carried into an activity.
- T13
The data that is carried into an activity.
- T14
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out argument.
Parameters
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- argument11
- T11
An argument that carries data into an activity.
- argument12
- T12
An argument that carries data into an activity.
- argument13
- T13
An argument that carries data into an activity.
- argument14
- T14
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult> that has fourteen parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, T11 argument11, T12 argument12, T13 argument13, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, argument11 As T11, argument12 As T12, argument13 As T13, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- T11
The data that is carried into an activity.
- T12
The data that is carried into an activity.
- T13
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out argument.
Parameters
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- argument11
- T11
An argument that carries data into an activity.
- argument12
- T12
An argument that carries data into an activity.
- argument13
- T13
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult> that has thirteen parameters for a return value and in
arguments and bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, T11 argument11, T12 argument12, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, argument11 As T11, argument12 As T12, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- T11
The data that is carried into an activity.
- T12
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out argument.
Parameters
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- argument11
- T11
An argument that carries data into an activity.
- argument12
- T12
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> that has twelve parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, T11 argument11, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, argument11 As T11, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- T11
The data that is carried into an activity.
- TResult
The type of the child activity out argument.
Parameters
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- argument11
- T11
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> that has eleven parameters for a return value and in arguments, and bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, T10 argument10, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, argument10 As T10, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- T10
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- argument10
- T10
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,T9,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> that has ten parameters for a return value and in
arguments and bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, T9 argument9, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, argument9 As T9, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- T9
The data that is carried into an activity.
- TResult
The type of the child activity out argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- argument9
- T9
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>(ActivityFunc<T1, T2,T3,T4,T5,T6,T7,T8,TResult>, T1, T2, T3, T4, T5, T6, T7, T8, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult> that has nine parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, argument8 As T8, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- T8
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- argument8
- T8
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,TResult>(ActivityFunc<T1,T2, T3,T4,T5,T6,T7,TResult>, T1, T2, T3, T4, T5, T6, T7, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult> that has eight parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,T7,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, T7, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, argument7 As T7, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- T7
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- argument7
- T7
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,T6,TResult>(ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>, T1, T2, T3, T4, T5, T6, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,T6,TResult> that has seven parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,T6,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,T6,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, T6, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, T6, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, argument6 As T6, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- T6
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- argument6
- T6
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,T5,TResult>(ActivityFunc<T1,T2,T3,T4,T5,TResult>, T1, T2, T3, T4, T5, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,T5,TResult> that has six parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,T5,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,T5,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, T5, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, T5, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, argument5 As T5, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- T5
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,T5,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- argument5
- T5
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,T5,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,T5,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,T4,TResult>(ActivityFunc<T1,T2,T3,T4,TResult>, T1, T2, T3, T4, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,T4,TResult> that has five parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,T4,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,T4,TResult> (System.Activities.ActivityFunc<T1,T2,T3,T4,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, T4 argument4, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'T4, 'Result> * 'T1 * 'T2 * 'T3 * 'T4 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, T4, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, T4, TResult), argument1 As T1, argument2 As T2, argument3 As T3, argument4 As T4, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- T4
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,T4,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- argument4
- T4
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,T4,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,T4,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,T3,TResult>(ActivityFunc<T1,T2,T3,TResult>, T1, T2, T3, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,T3,TResult> that has four parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,T3,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,T3,TResult> (System.Activities.ActivityFunc<T1,T2,T3,TResult> activityFunc, T1 argument1, T2 argument2, T3 argument3, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'T3, 'Result> * 'T1 * 'T2 * 'T3 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, T3, TResult) (activityFunc As ActivityFunc(Of T1, T2, T3, TResult), argument1 As T1, argument2 As T2, argument3 As T3, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- T3
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,T3,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- argument3
- T3
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,T3,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,T3,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<T1,T2,TResult>(ActivityFunc<T1,T2,TResult>, T1, T2, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<T1,T2,TResult> that has three parameters for a return value and in
arguments and that bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<T1,T2,TResult>.
public System.Activities.ActivityInstance ScheduleFunc<T1,T2,TResult> (System.Activities.ActivityFunc<T1,T2,TResult> activityFunc, T1 argument1, T2 argument2, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'T1, 'T2, 'Result> * 'T1 * 'T2 * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of T1, T2, TResult) (activityFunc As ActivityFunc(Of T1, T2, TResult), argument1 As T1, argument2 As T2, Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- T1
The data that is carried into an activity.
- T2
The data that is carried into an activity.
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<T1,T2,TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- argument1
- T1
An argument that carries data into an activity.
- argument2
- T2
An argument that carries data into an activity.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<T1,T2,TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<T1,T2,TResult>.
Returns
An instance of an activity.
Applies to
ScheduleFunc<TResult>(ActivityFunc<TResult>, CompletionCallback<TResult>, FaultCallback)
Schedules for execution a specified ActivityFunc<TResult> with one parameter that holds a return value and bookmarks the specified callback locations where the parent process resumes upon completion of the ActivityFunc<TResult>.
public System.Activities.ActivityInstance ScheduleFunc<TResult> (System.Activities.ActivityFunc<TResult> activityFunc, System.Activities.CompletionCallback<TResult> onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleFunc : System.Activities.ActivityFunc<'Result> * System.Activities.CompletionCallback<'Result> * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleFunc(Of TResult) (activityFunc As ActivityFunc(Of TResult), Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Type Parameters
- TResult
The type of the NativeActivity child activity out
argument.
Parameters
- activityFunc
- ActivityFunc<TResult>
A child activity that runs when a specific event occurs in the parent activity and returns a value.
- onCompleted
- CompletionCallback<TResult>
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityFunc<TResult>.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityFunc<TResult>.
Returns
An instance of an activity.