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
- BaseDataBoundControlDesigner.cs
- InteropExecutor.cs
- ResXDataNode.cs
- SortDescriptionCollection.cs
- HttpPostedFileWrapper.cs
- CompilerGeneratedAttribute.cs
- FileSystemEventArgs.cs
- ColorConverter.cs
- Brush.cs
- UIElementAutomationPeer.cs
- TransactionTable.cs
- ExpandoClass.cs
- OdbcInfoMessageEvent.cs
- NetNamedPipeSecurityElement.cs
- DetailsViewPageEventArgs.cs
- _Rfc2616CacheValidators.cs
- DynamicMethod.cs
- XmlLinkedNode.cs
- XamlBrushSerializer.cs
- FilterException.cs
- ReflectPropertyDescriptor.cs
- ByteStack.cs
- CompilationSection.cs
- WmiInstallComponent.cs
- autovalidator.cs
- HttpResponseHeader.cs
- HashJoinQueryOperatorEnumerator.cs
- WindowsAuthenticationModule.cs
- SizeLimitedCache.cs
- URLIdentityPermission.cs
- peersecuritysettings.cs
- BaseParser.cs
- SystemResourceHost.cs
- XmlElementAttribute.cs
- _NTAuthentication.cs
- Line.cs
- SafePointer.cs
- MetabaseServerConfig.cs
- counter.cs
- SoapCodeExporter.cs
- WorkflowMarkupSerializationException.cs
- AutomationTextAttribute.cs
- Int32AnimationBase.cs
- MatrixAnimationUsingPath.cs
- DragDropHelper.cs
- TextShapeableCharacters.cs
- TargetException.cs
- ClientScriptManagerWrapper.cs
- Pkcs9Attribute.cs
- EntityDataSourceViewSchema.cs
- DependencyPropertyHelper.cs
- Int32CollectionConverter.cs
- CheckBox.cs
- EventRoute.cs
- LicenseException.cs
- AttachedAnnotationChangedEventArgs.cs
- GeometryGroup.cs
- KoreanLunisolarCalendar.cs
- GeneralTransform.cs
- XmlEntity.cs
- JournalEntryStack.cs
- Form.cs
- WebServiceData.cs
- _FixedSizeReader.cs
- SpeechUI.cs
- QueryOutputWriter.cs
- ResourcePermissionBase.cs
- PeerApplicationLaunchInfo.cs
- ApplicationSettingsBase.cs
- SecurityRuntime.cs
- _LazyAsyncResult.cs
- StagingAreaInputItem.cs
- XmlExceptionHelper.cs
- PrinterSettings.cs
- LogEntryHeaderv1Deserializer.cs
- GPStream.cs
- CodeThrowExceptionStatement.cs
- PasswordTextContainer.cs
- FormsAuthenticationModule.cs
- BasicExpandProvider.cs
- _LoggingObject.cs
- WinFormsSecurity.cs
- DataGridViewComponentPropertyGridSite.cs
- ScriptBehaviorDescriptor.cs
- ConsumerConnectionPointCollection.cs
- TextEffectResolver.cs
- CreateParams.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- ProxyManager.cs
- SqlReferenceCollection.cs
- StringConverter.cs
- SaveFileDialog.cs
- RelationshipEnd.cs
- XmlSchemaAny.cs
- ValueConversionAttribute.cs
- DataFieldConverter.cs
- SspiSafeHandles.cs
- RandomNumberGenerator.cs
- ItemCheckedEvent.cs
- WeakRefEnumerator.cs