BizTalk "Exception thrown from: segment X progress Y" communicate 的分段和进度是什么意思

BizTalk What does mean segment and progress from "Exception thrown from: segment X progress Y" communicate

'segment'和'progress'在那种异常中是什么意思

2) xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'MainEventProcess.MainEvent(5b530a24-7336-4695-78ee-1d4ffdd9f210)'. The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception. InstanceId: cf584087-a9d3-4be7-8da7-eae49fd4a108 Shape name: SendDeviationOut ShapeId: dc5c3484-7955-4d75-b1f9-7e0ca8ecbc1e Exception thrown from: segment 4, progress 8 Inner exception: Exception occurred when persisting state to the database.

MSDN 上的完整详细信息: Exception during execution of Orchestration

它有助于搜索代码中的错误吗?

首先,您无需担心,与您的app/code/implementation无关。

您需要处理的两项是SendDeviationOut将状态持久化到数据库时发生异常。您很可能正在发布一条消息,但没有订阅者。这是编排引擎的 "no Subscribers found" 错误。

现在,为了回答您的具体问题,这些是 XLang 编译器从您的 Orchestration 生成的 C# 代码块的标记。基本上,每个语句都被组织成一个组、段,并且每个语句都被单独执行和跟踪,即进度。如果您打开 File0.cs,您将看到它的实际效果。