关于异常的疑难解答:System.Workflow.Runtime.Hosting.PersistenceException

更新:2007 年 11 月

当持久性服务无法满足请求时,将引发 PersistenceException 异常。

备注

SqlWorkflowPersistenceService 因无法完成请求而不能向其数据库提交完整的范围或工作流实例状态时,将引发 PersistenceException

如果通过从 WorkflowPersistenceService 类或 SqlWorkflowPersistenceService 类派生来实现持久性服务,则可以引发 PersistenceException 并显示一条适当的消息,用于指示您的服务所遇到的任何错误条件,这些错误条件会阻止服务完成由工作流运行时引擎发出的请求。

有关更多信息,请参见 WorkflowPersistenceService

请参见

任务

如何:使用异常助手查找有关异常的更多信息

参考

PersistenceException