PersistenceException Class
Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)
'Declaration <SerializableAttribute> _ Public Class PersistenceException Inherits SystemException 'Usage Dim instance As PersistenceException
/** @attribute SerializableAttribute() */ public class PersistenceException extends SystemException
SerializableAttribute public class PersistenceException extends SystemException
Not applicable.
The SqlWorkflowPersistenceService throws a PersistenceException if it cannot complete a request to commit either a completed scope or the workflow instance state to its database.
If you implement a persistence service by deriving from the WorkflowPersistenceService class or the SqlWorkflowPersistenceService class, you can throw the PersistenceException with an appropriate message to indicate any error condition encountered by your service that prevents it from fulfilling a request made by the workflow runtime engine.
See the WorkflowPersistenceService class for more information.
System.Exception
System.SystemException
System.Workflow.Runtime.Hosting.PersistenceException
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.