在这种情况下,不要调用主范围中的接收活动,而必须在事件处理程序中引发一个错误。
In this case, instead of invoking the receive activity in the main scope, we have to raise a fault in the event handler.
没有这个接收活动,MainScope可能会在事件处理程序启动前完成。
Without this receive activity, MainScope could finish before an event handler has been started.
在循环之后,定义接收活动,该活动将等待最后一个事件处理程序实例调用。
After the loop define a receive activity that waits until it is invoked by the last event handler.
为了保证流程执行所有事件处理程序,此接收活动将等待最后一个事件处理程序实例发送完成通知。
To guarantee that the process executes all event handlers, this receive activity waits until the last active event handler instance sends a notification of completion.
ReceiveReviewFinished Notification接收活动将一直等待,直到最后一个运行的事件处理程序实例发送通知来指示所有事件处理程序已完成为止。
The ReceiveReviewFinishedNotification receive activity waits until the last running event handler instance sends a notification that indicates that all event handlers have been finished.
ReceiveReviewFinished Notification接收活动将一直等待,直到最后一个运行的事件处理程序实例发送通知来指示所有事件处理程序已完成为止。
The ReceiveReviewFinishedNotification receive activity waits until the last running event handler instance sends a notification that indicates that all event handlers have been finished.
应用推荐