In this case, instead of invoking the receive activity in the main scope, we have to raise a fault in the event handler.
在这种情况下,不要调用主范围中的接收活动,而必须在事件处理程序中引发一个错误。
Finally, check whether the global counter reached zero, and if so, invoke the receive activity waiting in the main scope.
最后,检查全局计数器是否已达到零,如果是,调用主范围中等待的接收活动。
By doing so, the loop in the main scope and logic in the event handler controls the final number of event handler instances.
这样,主范围内的循环和事件处理程序中的逻辑就可以控制事件处理程序的最终数目。
Again, the main scope needs a fault handler in order to prevent the fault from being propagated to the surrounding scope or process.
同样,为了防止错误传递到周围的范围或流程,主范围需要一个错误处理程序。
Main scope of business:Chinese chestnuts, silkworm cocoon, grain, traditional Chinese medicine, wild vegetables, stone products, fittings of rock drills etc.
主要经营的品种有:板栗、桑蚕茧、柞蚕茧、杂粮、中药材、山野菜、石材制品、凿岩机配件、支撑构件等。
Main scope of business: Commercial rental, Airport transport, Sightseeing tour, Conference rental, Chartered vehicle, long-distance vehicles, personal rental and etc.
主要业务范围:商务用车、接送机场、观光旅游、会议用车、旅游包车、长途用车,个人租车等。
Main scope of business: Commercial rental, Airport transport, Sightseeing tour, Conference rental, Chartered vehicle, long-distance vehicles, personal rental and etc.
主要业务范围:商务用车、接送机场、观光旅游、会议用车、旅游包车、长途用车,个人租车等。
应用推荐