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
- WmlCommandAdapter.cs
- ArraySegment.cs
- WpfKnownType.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- WbmpConverter.cs
- HttpSessionStateBase.cs
- SchemaElementDecl.cs
- HandlerBase.cs
- CqlLexerHelpers.cs
- DetailsViewDeleteEventArgs.cs
- EventLogPermission.cs
- PointF.cs
- PassportIdentity.cs
- WmlPageAdapter.cs
- WebHttpSecurityElement.cs
- SHA1.cs
- ListView.cs
- DnsEndPoint.cs
- XmlDownloadManager.cs
- RequestResizeEvent.cs
- InvalidAsynchronousStateException.cs
- ChangeProcessor.cs
- UriExt.cs
- EasingKeyFrames.cs
- LoginAutoFormat.cs
- StrokeRenderer.cs
- XPathNode.cs
- DataSetMappper.cs
- MessageQueueEnumerator.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- LicenseException.cs
- InstanceKeyView.cs
- IIS7WorkerRequest.cs
- CacheDict.cs
- ListSourceHelper.cs
- EdmComplexTypeAttribute.cs
- DataGridViewIntLinkedList.cs
- AppDomainResourcePerfCounters.cs
- PageTheme.cs
- SqlNodeTypeOperators.cs
- Token.cs
- GeometryCombineModeValidation.cs
- XPathItem.cs
- StringKeyFrameCollection.cs
- XPathEmptyIterator.cs
- IndentTextWriter.cs
- XPathAncestorQuery.cs
- ToolboxItemLoader.cs
- Interop.cs
- DependencyObjectPropertyDescriptor.cs
- HtmlInputCheckBox.cs
- ObservableCollection.cs
- Empty.cs
- DesignerHelpers.cs
- Button.cs
- CuspData.cs
- TypeReference.cs
- WebPartMinimizeVerb.cs
- TextTreeFixupNode.cs
- ObjectSet.cs
- MessageBuffer.cs
- MouseActionConverter.cs
- MobileCategoryAttribute.cs
- MembershipUser.cs
- EncodingNLS.cs
- AutomationPatternInfo.cs
- BackStopAuthenticationModule.cs
- JavaScriptObjectDeserializer.cs
- LineProperties.cs
- XhtmlBasicCalendarAdapter.cs
- ReadOnlyObservableCollection.cs
- Image.cs
- SqlBulkCopy.cs
- DataGridViewComboBoxCell.cs
- BamlBinaryWriter.cs
- ListDictionary.cs
- ConnectionStringEditor.cs
- IApplicationTrustManager.cs
- ACE.cs
- DbConnectionOptions.cs
- AnnotationResource.cs
- ComplexType.cs
- ValidationService.cs
- DbMetaDataFactory.cs
- DiagnosticTrace.cs
- CqlWriter.cs
- DeferredReference.cs
- UniqueIdentifierService.cs
- DataSourceProvider.cs
- HtmlTableRow.cs
- GridItemPattern.cs
- HScrollProperties.cs
- RoleGroup.cs
- EntityProviderFactory.cs
- DbParameterHelper.cs
- SecurityUtils.cs
- FileInfo.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- PropertyOverridesTypeEditor.cs
- MonthCalendarDesigner.cs