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
- TransformCryptoHandle.cs
- SecurityKeyIdentifierClause.cs
- _Connection.cs
- InfoCardRequestException.cs
- StrokeNodeEnumerator.cs
- StyleBamlRecordReader.cs
- _CacheStreams.cs
- Rule.cs
- Int32AnimationUsingKeyFrames.cs
- COM2PictureConverter.cs
- DataGridColumnCollection.cs
- UnsafeNativeMethods.cs
- ViewCellSlot.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- EmptyArray.cs
- TableRowGroupCollection.cs
- LoginName.cs
- EntityException.cs
- SystemKeyConverter.cs
- DoubleAnimationClockResource.cs
- X509InitiatorCertificateClientElement.cs
- DataError.cs
- UserControlParser.cs
- AmbientProperties.cs
- TabControlEvent.cs
- AnnouncementInnerClient11.cs
- TypedColumnHandler.cs
- SmiGettersStream.cs
- VerificationException.cs
- PointUtil.cs
- DataGridViewColumnConverter.cs
- AssemblyResourceLoader.cs
- RequiredFieldValidator.cs
- ActionItem.cs
- KnowledgeBase.cs
- DbCommandTree.cs
- ZipIOModeEnforcingStream.cs
- Normalization.cs
- linebase.cs
- DataGridViewSelectedCellCollection.cs
- _CookieModule.cs
- SourceLineInfo.cs
- SourceElementsCollection.cs
- WorkflowMarkupSerializer.cs
- BlurEffect.cs
- ServicePoint.cs
- LassoHelper.cs
- OleDbConnection.cs
- ReachDocumentSequenceSerializer.cs
- SystemIcons.cs
- DataProtectionSecurityStateEncoder.cs
- TrackingCondition.cs
- PartitionResolver.cs
- DataGridViewUtilities.cs
- SoapMessage.cs
- FormsAuthenticationUserCollection.cs
- NetworkInterface.cs
- WizardStepBase.cs
- Int32Storage.cs
- XPathDocumentIterator.cs
- SkipQueryOptionExpression.cs
- BoolExpression.cs
- XamlBrushSerializer.cs
- ToolStripSplitStackLayout.cs
- WebPartConnection.cs
- HttpProfileBase.cs
- SQLMoney.cs
- DESCryptoServiceProvider.cs
- HttpModuleActionCollection.cs
- ADMembershipProvider.cs
- ListViewItem.cs
- SoapServerMessage.cs
- SqlDataRecord.cs
- EdmComplexTypeAttribute.cs
- XmlILIndex.cs
- IProvider.cs
- ProfilePropertySettingsCollection.cs
- Rectangle.cs
- QuestionEventArgs.cs
- FileDialogCustomPlacesCollection.cs
- ServiceDescriptionImporter.cs
- UrlMapping.cs
- SqlDependencyUtils.cs
- DetailsViewDeleteEventArgs.cs
- PenThreadPool.cs
- SelectionChangedEventArgs.cs
- TraceListeners.cs
- OSEnvironmentHelper.cs
- IListConverters.cs
- UpdatePanelControlTrigger.cs
- WebControlParameterProxy.cs
- FontSource.cs
- TypeTypeConverter.cs
- Hashtable.cs
- ChtmlPageAdapter.cs
- PanelContainerDesigner.cs
- ImageSourceConverter.cs
- CommonDialog.cs
- TextRunProperties.cs
- SqlHelper.cs