NativeActivityUpdateContext.ScheduleActivity Método
Definição
Agenda a NativeActivity especificada.Schedules the specified NativeActivity.
Sobrecargas
| ScheduleActivity(Activity) |
Agenda a atividade filho da NativeActivity especificada para execução.Schedules the specified NativeActivity child activity for execution. |
| ScheduleActivity(Activity, CompletionCallback) |
Agenda a atividade filho da NativeActivity especificada para execução usando o local de retorno de chamada de conclusão especificado no qual o processo pai será retomado após a conclusão da atividade.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) |
Agenda a atividade filho da NativeActivity especificada para execução usando o local de retorno de chamada de falha especificado no qual o processo pai será retomado quando a atividade entrar no estado de falha.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) |
Agenda a atividade filho da NativeActivity especificada para execução usando o local de retorno de chamada de falha especificado no qual o processo pai será retomado quando a atividade entrar no estado de falha.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<TResult>(Activity<TResult>, CompletionCallback<TResult>, FaultCallback) |
Agenda a execução de uma atividade filho da NativeActivity especificada com um parâmetro para um argumento de entrada e indica os locais de retorno de chamada especificados em que o processo pai será retomado após a conclusão da ActivityAction<T>.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>. |
ScheduleActivity(Activity)
Agenda a atividade filho da NativeActivity especificada para execução.Schedules the specified NativeActivity child activity for execution.
public:
void ScheduleActivity(System::Activities::Activity ^ activity);
public void ScheduleActivity (System.Activities.Activity activity);
member this.ScheduleActivity : System.Activities.Activity -> unit
Public Sub ScheduleActivity (activity As Activity)
Parâmetros
- activity
- Activity
Uma atividade filho que é disparada por um evento que ocorre na execução de um NativeActivity pai.A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
Aplica-se a
ScheduleActivity(Activity, CompletionCallback)
Agenda a atividade filho da NativeActivity especificada para execução usando o local de retorno de chamada de conclusão especificado no qual o processo pai será retomado após a conclusão da atividade.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:
void ScheduleActivity(System::Activities::Activity ^ activity, System::Activities::CompletionCallback ^ onCompleted);
public void ScheduleActivity (System.Activities.Activity activity, System.Activities.CompletionCallback onCompleted);
member this.ScheduleActivity : System.Activities.Activity * System.Activities.CompletionCallback -> unit
Public Sub ScheduleActivity (activity As Activity, onCompleted As CompletionCallback)
Parâmetros
- activity
- Activity
Uma atividade filho que é disparada por um evento que ocorre na execução de um NativeActivity pai.A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
- onCompleted
- CompletionCallback
Um indicador que determina onde a execução da atividade pai retoma após a conclusão da ActivityAction.A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityAction.
Aplica-se a
ScheduleActivity(Activity, FaultCallback)
Agenda a atividade filho da NativeActivity especificada para execução usando o local de retorno de chamada de falha especificado no qual o processo pai será retomado quando a atividade entrar no estado de falha.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:
void ScheduleActivity(System::Activities::Activity ^ activity, System::Activities::FaultCallback ^ onFaulted);
public void ScheduleActivity (System.Activities.Activity activity, System.Activities.FaultCallback onFaulted);
member this.ScheduleActivity : System.Activities.Activity * System.Activities.FaultCallback -> unit
Public Sub ScheduleActivity (activity As Activity, onFaulted As FaultCallback)
Parâmetros
- activity
- Activity
Uma atividade filho que é disparada por um evento que ocorre na execução de um NativeActivity pai.A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
- onFaulted
- FaultCallback
Um indicador que determina o local em que a execução da NativeActivity será retomada se um erro causar o encerramento da ActivityAction.A bookmark that indicates where the NativeActivity execution resumes if an error causes the termination of the ActivityAction.
Aplica-se a
ScheduleActivity(Activity, CompletionCallback, FaultCallback)
Agenda a atividade filho da NativeActivity especificada para execução usando o local de retorno de chamada de falha especificado no qual o processo pai será retomado quando a atividade entrar no estado de falha.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:
void ScheduleActivity(System::Activities::Activity ^ activity, System::Activities::CompletionCallback ^ onCompleted, System::Activities::FaultCallback ^ onFaulted);
public void 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 -> unit
Public Sub ScheduleActivity (activity As Activity, onCompleted As CompletionCallback, onFaulted As FaultCallback)
Parâmetros
- activity
- Activity
Uma atividade filho que é disparada por um evento que ocorre na execução de um NativeActivity pai.A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
- onCompleted
- CompletionCallback
Um indicador que determina onde a execução da atividade pai retoma após a conclusão da ActivityAction.A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityAction.
- onFaulted
- FaultCallback
Um indicador que determina o local em que a execução da NativeActivity será retomada se um erro causar o encerramento da ActivityAction.A bookmark that indicates where the NativeActivity execution resumes if an error causes the termination of the ActivityAction.
Aplica-se a
ScheduleActivity<TResult>(Activity<TResult>, CompletionCallback<TResult>, FaultCallback)
Agenda a execução de uma atividade filho da NativeActivity especificada com um parâmetro para um argumento de entrada e indica os locais de retorno de chamada especificados em que o processo pai será retomado após a conclusão da ActivityAction<T>.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 void 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 -> unit
Public Sub ScheduleActivity(Of TResult) (activity As Activity(Of TResult), Optional onCompleted As CompletionCallback(Of TResult) = Nothing, Optional onFaulted As FaultCallback = Nothing)
Parâmetros de tipo
- TResult
O tipo do argumento de saída da atividade filho NativeActivity.The type of the NativeActivity child activity out argument.
Parâmetros
- activity
- Activity<TResult>
Uma atividade filho que é disparada por um evento que ocorre na execução de um NativeActivity pai.A child activity that is triggered by an event that occurs in the execution of a parent NativeActivity.
- onCompleted
- CompletionCallback<TResult>
Um indicador que determina o local em que a execução da NativeActivity é retomada após a conclusão da ActivityAction<T>.A bookmark that indicates where the NativeActivity execution resumes upon completion of the ActivityAction<T>.
- onFaulted
- FaultCallback
Um indicador que determina o local em que a execução da NativeActivity será retomada se um erro causar o encerramento da ActivityAction.A bookmark that indicates where the NativeActivity execution resumes if an error causes the termination of the ActivityAction.