Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / UpdateException.cs / 1 / UpdateException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- 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. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- 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
- CreateUserWizardStep.cs
- Parser.cs
- querybuilder.cs
- SrgsRuleRef.cs
- ListBindableAttribute.cs
- RegexRunnerFactory.cs
- TextLineBreak.cs
- CalendarDataBindingHandler.cs
- EntityClassGenerator.cs
- NavigationHelper.cs
- ResourceSetExpression.cs
- ByteStorage.cs
- QilInvokeLateBound.cs
- DrawingVisual.cs
- DotExpr.cs
- SymmetricKey.cs
- TextParaClient.cs
- MembershipAdapter.cs
- PackWebRequest.cs
- SimpleFileLog.cs
- DSACryptoServiceProvider.cs
- SHA512.cs
- XmlSchemaGroupRef.cs
- basevalidator.cs
- BufferBuilder.cs
- XmlAttributeProperties.cs
- PolyBezierSegment.cs
- ValueOfAction.cs
- ColumnClickEvent.cs
- AliasedExpr.cs
- documentation.cs
- EventListenerClientSide.cs
- OdbcDataAdapter.cs
- XmlMessageFormatter.cs
- DeviceContext.cs
- BitmapEffectOutputConnector.cs
- HTTPNotFoundHandler.cs
- AttachmentCollection.cs
- SynchronousChannel.cs
- PolicyVersion.cs
- DateTimeFormatInfo.cs
- Globals.cs
- SiteMapPathDesigner.cs
- CellNormalizer.cs
- Object.cs
- CachedFontFace.cs
- TransportListener.cs
- DataGridViewColumn.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- RegexBoyerMoore.cs
- XmlUnspecifiedAttribute.cs
- Logging.cs
- SoapSchemaExporter.cs
- DataGridTextBox.cs
- SystemIPInterfaceProperties.cs
- RIPEMD160Managed.cs
- DbConnectionHelper.cs
- StickyNote.cs
- ZipIOFileItemStream.cs
- RightsManagementEncryptedStream.cs
- DataBinding.cs
- SecurityTokenRequirement.cs
- SHA256Managed.cs
- ChannelBuilder.cs
- validationstate.cs
- BigInt.cs
- PersonalizationDictionary.cs
- WindowsListViewGroup.cs
- Figure.cs
- CompoundFileDeflateTransform.cs
- SelfSignedCertificate.cs
- TPLETWProvider.cs
- SafeUserTokenHandle.cs
- EntitySetRetriever.cs
- ReadOnlyAttribute.cs
- StylusButton.cs
- XmlSchemaAnnotation.cs
- validationstate.cs
- While.cs
- ResXBuildProvider.cs
- LocalizedNameDescriptionPair.cs
- FormViewUpdateEventArgs.cs
- DataBindEngine.cs
- NodeFunctions.cs
- BCLDebug.cs
- ContentControl.cs
- DockProviderWrapper.cs
- DSGeneratorProblem.cs
- SamlAuthenticationClaimResource.cs
- TraceSection.cs
- VirtualPathProvider.cs
- HiddenFieldPageStatePersister.cs
- Ipv6Element.cs
- ArgumentException.cs
- TraceInternal.cs
- DependencyObjectType.cs
- PathFigureCollection.cs
- SmiEventSink_DeferedProcessing.cs
- ChannelDispatcherBase.cs
- WindowAutomationPeer.cs