Fault handling across all import bindings is able to determine if the invoked service returned a fault.
跨所有导入绑定的错误处理能够确定被调用的服务是否返回了错误。
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.
当运行时基础结构抛出错误时、调用服务时或者在抛出活动运行时会引发错误处理程序。
We did the same thing in the fault example earlier, but instead of setting fault properties in the individual Web service methods, we have each of the methods call this function instead.
我们完成的任务与上文中的故障示例相同,但没有像前面那样在单个Web服务方法中设置faul t属性,而是使每个方法调用此函数。
应用推荐