Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Hosting / PersistenceException.cs / 1305376 / PersistenceException.cs
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]
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
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
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]
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
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PartialTrustVisibleAssembliesSection.cs
- QuotedStringFormatReader.cs
- OrCondition.cs
- ParseHttpDate.cs
- ChangePasswordAutoFormat.cs
- IISUnsafeMethods.cs
- Rotation3DKeyFrameCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- BindingMemberInfo.cs
- QilInvokeLateBound.cs
- NativeMethods.cs
- AutomationPropertyChangedEventArgs.cs
- DesignerEditorPartChrome.cs
- SessionParameter.cs
- CustomErrorsSection.cs
- XsltSettings.cs
- PathGeometry.cs
- PageParserFilter.cs
- SQLUtility.cs
- ListControlConvertEventArgs.cs
- _HeaderInfo.cs
- CornerRadiusConverter.cs
- CodePrimitiveExpression.cs
- XmlCharType.cs
- Comparer.cs
- WorkflowRuntimeSection.cs
- Fx.cs
- CardSpacePolicyElement.cs
- NamespaceEmitter.cs
- LogicalExpr.cs
- AutomationProperties.cs
- SystemColors.cs
- SharedStream.cs
- ProviderUtil.cs
- MetadataArtifactLoaderCompositeFile.cs
- EnumerableCollectionView.cs
- SqlEnums.cs
- FontClient.cs
- UnsafeNativeMethods.cs
- ResourceKey.cs
- ComponentRenameEvent.cs
- TrackingLocationCollection.cs
- RowBinding.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- GridViewSortEventArgs.cs
- ExecutionTracker.cs
- SQLInt32Storage.cs
- Cursors.cs
- XmlSortKey.cs
- SettingsPropertyValueCollection.cs
- EntityDataSourceContextDisposingEventArgs.cs
- MSAANativeProvider.cs
- Highlights.cs
- VisualStyleRenderer.cs
- LineServicesRun.cs
- DiagnosticTrace.cs
- SymmetricKey.cs
- PasswordPropertyTextAttribute.cs
- PageAction.cs
- TextContainerChangeEventArgs.cs
- ComponentRenameEvent.cs
- FixedSOMPageConstructor.cs
- FormViewUpdateEventArgs.cs
- LogicalTreeHelper.cs
- DesignBindingPicker.cs
- NamedElement.cs
- QilGenerator.cs
- OracleException.cs
- Content.cs
- ping.cs
- SiteMapSection.cs
- AddIn.cs
- X509Utils.cs
- CodeChecksumPragma.cs
- PixelFormatConverter.cs
- HttpCachePolicy.cs
- TraceContextEventArgs.cs
- SqlDependencyListener.cs
- WebPartConnectionsDisconnectVerb.cs
- RenderContext.cs
- SerialStream.cs
- XMLUtil.cs
- Rotation3DAnimationBase.cs
- GridItemCollection.cs
- HuffCodec.cs
- SiteMapSection.cs
- AlgoModule.cs
- Version.cs
- ProxyFragment.cs
- RawStylusActions.cs
- ScriptReference.cs
- FileRecordSequenceHelper.cs
- FullTrustAssembly.cs
- InvokePattern.cs
- Speller.cs
- ClientApiGenerator.cs
- TextContainerHelper.cs
- ConfigXmlDocument.cs
- InstalledFontCollection.cs
- WindowsAuthenticationEventArgs.cs