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
- BufferAllocator.cs
- ApplicationInfo.cs
- BrowserDefinitionCollection.cs
- DirectionalLight.cs
- TimeSpanOrInfiniteConverter.cs
- GenericTextProperties.cs
- OracleColumn.cs
- GenericEnumerator.cs
- XmlSignificantWhitespace.cs
- LayoutEvent.cs
- DataPagerFieldCommandEventArgs.cs
- TraceEventCache.cs
- HttpResponse.cs
- UserControlBuildProvider.cs
- StylusPlugin.cs
- ProcessHostMapPath.cs
- WebPartUserCapability.cs
- DiscoveryServerProtocol.cs
- ScriptControl.cs
- UIntPtr.cs
- Freezable.cs
- AppModelKnownContentFactory.cs
- LinearGradientBrush.cs
- AliasExpr.cs
- Int16Storage.cs
- XmlSchemaObjectTable.cs
- ExceptionValidationRule.cs
- SmtpReplyReaderFactory.cs
- PathSegmentCollection.cs
- SafeLibraryHandle.cs
- TextComposition.cs
- Effect.cs
- ToolStripPanel.cs
- CheckBoxList.cs
- TextTreeUndoUnit.cs
- Brush.cs
- altserialization.cs
- ScriptingScriptResourceHandlerSection.cs
- PriorityBinding.cs
- RadioButtonPopupAdapter.cs
- DesignerView.xaml.cs
- Compiler.cs
- SafeCoTaskMem.cs
- FixedFindEngine.cs
- WebPartCollection.cs
- StreamSecurityUpgradeProvider.cs
- UseManagedPresentationBindingElement.cs
- DoubleKeyFrameCollection.cs
- SrgsSubset.cs
- BinaryVersion.cs
- RetrieveVirtualItemEventArgs.cs
- ClientUtils.cs
- WebReferenceCollection.cs
- TripleDES.cs
- TreeNodeStyle.cs
- ExpressionBindings.cs
- ProcessThread.cs
- ListViewDataItem.cs
- DataTableNewRowEvent.cs
- Effect.cs
- QilBinary.cs
- DataGridViewAutoSizeModeEventArgs.cs
- FieldAccessException.cs
- UrlAuthorizationModule.cs
- NullableLongSumAggregationOperator.cs
- ReceiveMessageContent.cs
- StylusPointProperties.cs
- BasicKeyConstraint.cs
- CodeTypeParameter.cs
- TypeReference.cs
- DataSourceConverter.cs
- DateTimeConverter.cs
- StackOverflowException.cs
- COM2ExtendedUITypeEditor.cs
- RectangleGeometry.cs
- Viewport3DVisual.cs
- EntityFrameworkVersions.cs
- CellCreator.cs
- MappingItemCollection.cs
- RuntimeArgumentHandle.cs
- WsdlHelpGeneratorElement.cs
- HotSpot.cs
- CompareValidator.cs
- CachedCompositeFamily.cs
- SplitContainer.cs
- OrderedEnumerableRowCollection.cs
- UnmanagedMemoryStream.cs
- RectangleGeometry.cs
- HttpModuleActionCollection.cs
- WebPartAddingEventArgs.cs
- SoapEnumAttribute.cs
- SrgsGrammarCompiler.cs
- SerialStream.cs
- SettingsSavedEventArgs.cs
- RangeBase.cs
- ContentFilePart.cs
- MetaColumn.cs
- LayoutTableCell.cs
- CacheHelper.cs
- DataSourceXmlSubItemAttribute.cs