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
- FileAuthorizationModule.cs
- UniqueEventHelper.cs
- SymbolType.cs
- ProfessionalColors.cs
- DataGridCaption.cs
- XmlSchemaSimpleContent.cs
- ChangePassword.cs
- UseLicense.cs
- EntryPointNotFoundException.cs
- List.cs
- CheckBoxField.cs
- HttpApplicationFactory.cs
- DocumentOrderComparer.cs
- ScriptingAuthenticationServiceSection.cs
- ScriptResourceHandler.cs
- MSAAWinEventWrap.cs
- XmlElementList.cs
- FixedHyperLink.cs
- ErrorView.xaml.cs
- DbConnectionInternal.cs
- WindowsListViewItemCheckBox.cs
- linebase.cs
- Header.cs
- XmlReader.cs
- TdsParserStaticMethods.cs
- SingleObjectCollection.cs
- AnnotationComponentChooser.cs
- WindowsPrincipal.cs
- ReadOnlyDataSourceView.cs
- DetailsViewRow.cs
- ClientSettingsProvider.cs
- HtmlControlDesigner.cs
- TabItem.cs
- JapaneseLunisolarCalendar.cs
- TextModifierScope.cs
- Persist.cs
- NonBatchDirectoryCompiler.cs
- AsymmetricSecurityProtocolFactory.cs
- HttpCapabilitiesBase.cs
- DesigntimeLicenseContext.cs
- AttachedPropertyDescriptor.cs
- SectionInformation.cs
- PackageStore.cs
- PenCursorManager.cs
- ResourceLoader.cs
- MatcherBuilder.cs
- DelegateHelpers.Generated.cs
- SystemIPAddressInformation.cs
- ColorMatrix.cs
- TableItemPatternIdentifiers.cs
- XmlILTrace.cs
- PageVisual.cs
- ToolTipService.cs
- ContentPosition.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- PagesChangedEventArgs.cs
- ExceptionRoutedEventArgs.cs
- DataKeyArray.cs
- XmlMembersMapping.cs
- ContainerAction.cs
- Lease.cs
- ProtocolImporter.cs
- altserialization.cs
- HostSecurityManager.cs
- XmlSerializableReader.cs
- MenuEventArgs.cs
- CryptoApi.cs
- unsafenativemethodsother.cs
- HttpCachePolicyWrapper.cs
- RetrieveVirtualItemEventArgs.cs
- SystemIcons.cs
- SubqueryRules.cs
- BaseProcessProtocolHandler.cs
- _SslStream.cs
- BamlLocalizer.cs
- StylusPointPropertyInfo.cs
- SHA1.cs
- AuthenticationConfig.cs
- Conditional.cs
- FileVersionInfo.cs
- StyleHelper.cs
- UrlPath.cs
- TrustLevelCollection.cs
- AssemblyFilter.cs
- EntityDataSourceChangingEventArgs.cs
- VirtualPath.cs
- DeclaredTypeValidatorAttribute.cs
- MimeTypeMapper.cs
- EdmMember.cs
- ColumnMapVisitor.cs
- Cursor.cs
- IisTraceWebEventProvider.cs
- SqlUserDefinedTypeAttribute.cs
- LogLogRecord.cs
- InputQueueChannelAcceptor.cs
- ToolbarAUtomationPeer.cs
- MdImport.cs
- OdbcConnectionStringbuilder.cs
- ClientRoleProvider.cs
- KeySpline.cs