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
- SrgsRulesCollection.cs
- RestHandler.cs
- TextServicesContext.cs
- MetadataUtilsSmi.cs
- EmbeddedMailObjectsCollection.cs
- XsltContext.cs
- DesignerOptionService.cs
- SQLInt64Storage.cs
- FormViewModeEventArgs.cs
- DefaultAssemblyResolver.cs
- ADConnectionHelper.cs
- EventHandlerList.cs
- RequestCache.cs
- SqlHelper.cs
- IPCCacheManager.cs
- XsdDateTime.cs
- CodeDirectionExpression.cs
- FileLogRecord.cs
- BitmapEffectGeneralTransform.cs
- InteropBitmapSource.cs
- AVElementHelper.cs
- LiteralControl.cs
- TraceLog.cs
- XmlAttributeOverrides.cs
- DataControlButton.cs
- WSDualHttpSecurityMode.cs
- StrokeNodeOperations2.cs
- OleDbErrorCollection.cs
- SHA1CryptoServiceProvider.cs
- ToolBarPanel.cs
- DesignTimeParseData.cs
- MultipleViewProviderWrapper.cs
- Mouse.cs
- TemplateAction.cs
- StateWorkerRequest.cs
- InstancePersistenceCommand.cs
- ContractMapping.cs
- ServiceBehaviorElement.cs
- MsmqIntegrationBindingCollectionElement.cs
- ListControlConvertEventArgs.cs
- DataSourceExpression.cs
- ToolStripSeparator.cs
- Monitor.cs
- OracleParameter.cs
- HandledEventArgs.cs
- CommandLibraryHelper.cs
- SqlGenericUtil.cs
- ValidateNames.cs
- DbInsertCommandTree.cs
- OutputCacheProfileCollection.cs
- SqlCharStream.cs
- ScaleTransform.cs
- ArgumentOutOfRangeException.cs
- EntityDataSourceDesigner.cs
- DetailsViewInsertedEventArgs.cs
- DSACryptoServiceProvider.cs
- PropertyGridView.cs
- validationstate.cs
- ColorTransformHelper.cs
- _AuthenticationState.cs
- XsltCompileContext.cs
- NativeObjectSecurity.cs
- ClientRoleProvider.cs
- SafeSystemMetrics.cs
- WebBrowserNavigatingEventHandler.cs
- ThreadStateException.cs
- SqlDataSourceCommandParser.cs
- SchemaSetCompiler.cs
- TextRangeEdit.cs
- StatusBarItemAutomationPeer.cs
- AutomationPattern.cs
- ThemeDictionaryExtension.cs
- GradientPanel.cs
- BaseInfoTable.cs
- EndpointIdentityExtension.cs
- BmpBitmapDecoder.cs
- ActivityCodeGenerator.cs
- OleDbError.cs
- TrustDriver.cs
- TextElementAutomationPeer.cs
- ThreadPool.cs
- TCPClient.cs
- IndexedWhereQueryOperator.cs
- Environment.cs
- ForeignKeyFactory.cs
- RegexCapture.cs
- MethodCallExpression.cs
- RowUpdatedEventArgs.cs
- DynamicValueConverter.cs
- FormatException.cs
- future.cs
- RectangleF.cs
- _UriTypeConverter.cs
- CurrentTimeZone.cs
- RegexBoyerMoore.cs
- AssociationSetMetadata.cs
- HttpModuleCollection.cs
- FileLevelControlBuilderAttribute.cs
- FreeFormDesigner.cs
- DataGridViewSelectedCellsAccessibleObject.cs