Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / UpdateException.cs / 1305376 / UpdateException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Runtime.Serialization; using System.Security.Permissions; using System.Data.Objects; using System.Collections.ObjectModel; using System.Collections.Generic; ////// Exception during save changes to store /// [Serializable] public class UpdateException : DataException { [NonSerialized] private ReadOnlyCollection_stateEntries; #region constructors /// /// Default constructor /// public UpdateException() : base() { } ////// Constructor that takes a message /// /// public UpdateException(string message) : base(message) { } ////// Constructor that takes a message and an inner exception /// /// /// public UpdateException(string message, Exception innerException) : base(message, innerException) { } ////// Constructor that takes a message and an inner exception /// /// /// /// public UpdateException(string message, Exception innerException, IEnumerablestateEntries) : base(message, innerException) { List list = new List (stateEntries); _stateEntries = list.AsReadOnly(); } /// /// Gets state entries implicated in the error. /// public ReadOnlyCollectionStateEntries { get { return _stateEntries; } } /// /// The protected constructor for serialization /// /// /// protected UpdateException(SerializationInfo info, StreamingContext context) : base(info, context) { } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProxyWebPartManager.cs
- NativeMethods.cs
- ContourSegment.cs
- OleDbWrapper.cs
- EventDescriptorCollection.cs
- sqlinternaltransaction.cs
- AlignmentYValidation.cs
- Attributes.cs
- DocumentPaginator.cs
- BindingListCollectionView.cs
- WindowsEditBoxRange.cs
- SecurityManager.cs
- ItemsPanelTemplate.cs
- BufferedGraphicsManager.cs
- ServiceOperation.cs
- TypeDependencyAttribute.cs
- MobileErrorInfo.cs
- COAUTHIDENTITY.cs
- TreeNodeClickEventArgs.cs
- ProfileGroupSettingsCollection.cs
- WithParamAction.cs
- ChannelManagerBase.cs
- BinarySecretSecurityToken.cs
- SafeHGlobalHandleCritical.cs
- HtmlGenericControl.cs
- FixedPosition.cs
- HotSpotCollection.cs
- DirectoryNotFoundException.cs
- SignatureTargetIdManager.cs
- PermissionSetEnumerator.cs
- ProcessModuleCollection.cs
- AnnotationResourceCollection.cs
- TextElementAutomationPeer.cs
- PermissionAttributes.cs
- MinMaxParagraphWidth.cs
- NodeFunctions.cs
- Pkcs7Signer.cs
- InternalConfirm.cs
- XmlReader.cs
- BlurEffect.cs
- DocobjHost.cs
- PriorityQueue.cs
- PermissionListSet.cs
- HighlightComponent.cs
- CreateSequence.cs
- ServiceBehaviorAttribute.cs
- InstanceData.cs
- TraceFilter.cs
- ADRole.cs
- Viewport2DVisual3D.cs
- WebPartEditorApplyVerb.cs
- ReliableChannelBinder.cs
- Atom10FormatterFactory.cs
- RuleSet.cs
- HandlerFactoryCache.cs
- CustomWebEventKey.cs
- InfoCardAsymmetricCrypto.cs
- HandleTable.cs
- TemplateFactory.cs
- MergeFailedEvent.cs
- WebPartEventArgs.cs
- MessageSmuggler.cs
- Vector3D.cs
- FreezableOperations.cs
- Type.cs
- ListBox.cs
- BoolExpression.cs
- ObjectDataSourceStatusEventArgs.cs
- EdmConstants.cs
- DefaultParameterValueAttribute.cs
- DataControlFieldCell.cs
- NewExpression.cs
- WebPartConnectionsCancelEventArgs.cs
- ObjectDataSourceView.cs
- ClientScriptManager.cs
- DateTimeUtil.cs
- SafeLibraryHandle.cs
- RenamedEventArgs.cs
- SafeTokenHandle.cs
- FolderBrowserDialogDesigner.cs
- Win32.cs
- XmlJsonReader.cs
- SqlServer2KCompatibilityCheck.cs
- ScrollViewer.cs
- RuleProcessor.cs
- DesignColumnCollection.cs
- ChangeNode.cs
- CacheEntry.cs
- AnimationClockResource.cs
- TextElementCollection.cs
- XmlReaderSettings.cs
- DefaultPropertyAttribute.cs
- PaintValueEventArgs.cs
- IdentityValidationException.cs
- CallContext.cs
- HandlerWithFactory.cs
- LinqDataSourceView.cs
- BoundColumn.cs
- StoreAnnotationsMap.cs
- FontSource.cs