Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)
/** @attribute SerializableAttribute() */ public class WorkflowOwnershipException extends Exception
The WorkflowOwnershipException is used by persistence services which support the capability for multiple applications to access the same database. In such an environment, an instance of the workflow runtime may try to load a workflow that is already loaded by another instance of the workflow runtime engine. For example, the SQLWorkflowPersistenceService class throws the WorkflowOwnershipException when this situation occurs.
If you implement a persistence service that throws the WorkflowOwnershipException you should provide the Guid of the workflow instance for which the exception occurs by using an appropriate constructor for the class or setting the InstanceId property before you throw the exception.
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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.