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
- BitmapEncoder.cs
- OutputCacheProfileCollection.cs
- CheckBoxFlatAdapter.cs
- AdjustableArrowCap.cs
- ImplicitInputBrush.cs
- ObjectDataSourceFilteringEventArgs.cs
- TextOptions.cs
- AsyncStreamReader.cs
- LineVisual.cs
- _NTAuthentication.cs
- ImageCodecInfoPrivate.cs
- XPathNodeHelper.cs
- DataShape.cs
- EnumerableCollectionView.cs
- SymbolType.cs
- _Semaphore.cs
- EntityDataSourceColumn.cs
- RowToParametersTransformer.cs
- IndentTextWriter.cs
- ThreadAbortException.cs
- StylusPointPropertyId.cs
- MsdtcClusterUtils.cs
- SizeConverter.cs
- DataServiceProcessingPipeline.cs
- MergePropertyDescriptor.cs
- DataConnectionHelper.cs
- AnonymousIdentificationSection.cs
- RSAPKCS1SignatureFormatter.cs
- XmlEncoding.cs
- XmlWriterTraceListener.cs
- EmptyQuery.cs
- OpenFileDialog.cs
- HtmlElement.cs
- ParentQuery.cs
- WindowsListBox.cs
- DBBindings.cs
- GridItemPatternIdentifiers.cs
- SelectionPatternIdentifiers.cs
- GridViewColumnCollectionChangedEventArgs.cs
- MissingManifestResourceException.cs
- TextStore.cs
- ToolboxBitmapAttribute.cs
- DocumentPageHost.cs
- InstanceOwner.cs
- MethodRental.cs
- SqlClientPermission.cs
- TrackingRecord.cs
- ManagedIStream.cs
- EventLog.cs
- ConnectionManagementElementCollection.cs
- ContentTextAutomationPeer.cs
- ResolveMatches11.cs
- Color.cs
- PerformanceCounterPermissionEntryCollection.cs
- FactoryMaker.cs
- PropertyStore.cs
- MarkupCompilePass1.cs
- WSDualHttpBindingElement.cs
- ItemChangedEventArgs.cs
- MissingMethodException.cs
- RealizationContext.cs
- CategoryGridEntry.cs
- _SslState.cs
- DesignRelationCollection.cs
- BuildManager.cs
- EdmSchemaAttribute.cs
- EndCreateSecurityTokenRequest.cs
- ContextMenu.cs
- CompositeFontInfo.cs
- MetabaseSettingsIis7.cs
- DataSet.cs
- ClientScriptManagerWrapper.cs
- TabPage.cs
- DataError.cs
- EndpointDiscoveryMetadataCD1.cs
- AnimationException.cs
- EtwTrace.cs
- EnvelopedPkcs7.cs
- ErrorFormatter.cs
- SvcMapFileLoader.cs
- CrossAppDomainChannel.cs
- FilterEventArgs.cs
- StylusPointProperty.cs
- EraserBehavior.cs
- CodeAttributeDeclarationCollection.cs
- ScriptRegistrationManager.cs
- UndoManager.cs
- RealizedColumnsBlock.cs
- SQLString.cs
- ZipFileInfoCollection.cs
- RemotingAttributes.cs
- Visual.cs
- GroupItem.cs
- DatagridviewDisplayedBandsData.cs
- AsymmetricKeyExchangeDeformatter.cs
- SoapFormatExtensions.cs
- XmlBoundElement.cs
- TraceInternal.cs
- CaseInsensitiveHashCodeProvider.cs
- XmlSchemaDocumentation.cs