错误处理程序包含一个或多个捕获元素。
错误处理程序通过警告对话框显示问题。
错误处理程序是范围或调用活动的可选部分。
A fault handler is an optional part of a scope or invoke activity.
这提供了对使用任务的错误处理程序的替代方案。
This provides an alternative to using a fault handler for the task.
NET调用第1步中的错误处理程序。
复制结果显示为警告框,通过成功或错误处理程序激活。
The result of the replications is shown as an alert box, activated through the success or error handler.
通过成功处理程序和错误处理程序函数执行查询。
The query is executed with a success handler and an error handler function.
您只需将其放置在补偿处理程序或错误处理程序中即可。
You can only place it inside a compensation handler or fault handler.
在外部范围中,错误处理程序包含一个其目标设置为内部范围的补偿活动。
In the outer scope, a fault handler contains a compensate activity whose target is set to the inner scope.
作为一个示例,图15显示了ShipOrder活动的简单错误处理程序。
As an example, Figure 15 shows a simple fault handler for the ShipOrder activity.
错误处理程序和补偿处理程序的表示形式已得到改进,如图10 所示。
The presentation for fault handlers and compensation handlers has been improved, as shown in Figure 10.
每次错误处理程序将控制返回给调用过程时,那个过程就成为当前过程。
Each time the error handler passes control back to a calling procedure, that procedure becomes the current procedure.
清单2在清单1中所示的源代码中添加一个类,并在语法分析器中注册该错误处理程序。
Listing 2 adds a class to the source shown in Listing 1 and registers that error handler with the parser.
同样,为了防止错误传递到周围的范围或流程,主范围需要一个错误处理程序。
Again, the main scope needs a fault handler in order to prevent the fault from being propagated to the surrounding scope or process.
如果发生意外错误,并且没有专门建模错误处理程序来处理该错误,则需要该操作。
This is required if an unexpected error occurs and there is no fault handler specifically modeled to handle it.
然后将该活动置于已失败状态,并且将错误传播到下一个封闭范围的错误处理程序。
The activity is then put in state failed and the fault is propagated to the fault handler of the next enclosing scope.
请注意针对后者的错误处理程序可撤销前者所做的工作,以使数据不会处在一种不一致的状态。
Notice that the error handler for the latter undoes the work of the former so that data is not left in an inconsistent state.
为了防止范围将此错误传播到周围的范围和流程,主范围需要一个处理此错误的错误处理程序。
In order to prevent the scope from propagating this fault to the surrounding scope or process, the main scope needs a fault handler that handles this fault.
大多数VB程序员编程时总是将注意力放在功能上,很少提供有效的错误处理程序。
Most VB programmers pay more attention to the Functions during programming, rarely offer effective error handling.
当运行时基础结构抛出错误时、调用服务时或者在抛出活动运行时会引发错误处理程序。
A fault handler is triggered when a fault is thrown by the runtime infrastructure, when a service is called, or when a throw activity runs.
如果提供错误处理程序,那么它应该是用于处理任何发生的错误的Lua代码在栈上的索引。
The error handler, if one is provided, is the index on the stack of the Lua code to handle any errors that occur.
请注意,单击范围活动右上角的橘红色“x”号可以在错误处理程序的显示和隐藏之间进行切换。
Note that clicking the orange and red 'x' at the top-right of the scope activity toggles between showing and hiding the fault handler.
他们执行额外的错误条件检查,并在发生错误时,他们援引的错误处理程序(见参数验证)。
They perform additional checks for error conditions, and in the case of an error, they invoke an error handler (see Parameter Validation).
客户中一个专门的错误处理程序接收这种异常,并且必须在解析器错误消息中检索出需要的信息!
A special error handler in the client receives this exception and must parse the parser's error message to retrieve the required information!
范围可以提供错误处理程序、事件处理程序、补偿处理程序、局部变量、本地伙伴连接和本地相关集。
A scope can provide fault handlers, event handlers, a compensation handler, local variables, local partner links, and local correlation sets.
在错误处理程序的Catch元素的详细信息中,选择user - defined作为错误类型。
In the details for the Catch element in the fault handler, select User-defined for the fault type.
如果错误通过多级错误处理程序传播,导致终止所有其他活动,并终止流程实例本身,则无法对其修复。
If the fault is propagated through several levels of fault handlers, causing the termination of all other activities, and finally the process instance itself, there is no way to repair it.
此上下文中的错误处理非常简单——只要有自定义错误处理程序存在,就可以防止将错误传播到周围的范围和流程。
Fault handling in this context can be as easy as doing nothing — simply the existence of the custom fault handler prevents the fault from being propagated to the enclosing scope or process.
如果执行了此操作,并且活动再次失败,则该异常会传播到该流程的错误处理程序,并且该活动不会再停止。
If this is done and the activity fails again, the exception is propagated to the fault handling of the process and the activity is not stopped again.
在错误处理程序的ShippingFault元素下,添加snippet活动,然后如图27所示填写详细信息。
Under the ShippingFault element in the fault handler, add a snippet activity, and then fill in the details as in Figure 27.
应用推荐