e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using System.Security.Permissions;
|
|
using System.Collections.Generic;
|
|
using System.Globalization;
|
|
using System.Threading;
|
|
using System.Workflow;
|
|
using System.Workflow.Runtime;
|
|
using System.Workflow.ComponentModel;
|
|
|
|
namespace System.Workflow.Runtime.Hosting
|
|
{
|
|
#region Runtime Exceptions
|
|
[Serializable]
|
|
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
|
|
public class PersistenceException : SystemException
|
|
{
|
|
public PersistenceException() : base(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.PersistenceException)) { }
|
|
public PersistenceException(string message) : base(message) { }
|
|
public PersistenceException(string message, Exception innerException) : base(message, innerException) { }
|
|
|
|
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
|
|
protected PersistenceException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
|
}
|
|
#endregion
|
|
}
|