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
- HwndKeyboardInputProvider.cs
- AuthenticationServiceManager.cs
- EmptyEnumerator.cs
- HelpHtmlBuilder.cs
- SqlDataSourceAdvancedOptionsForm.cs
- EvidenceBase.cs
- WaitForChangedResult.cs
- FlowPosition.cs
- ColorBlend.cs
- FixedPosition.cs
- WriteableBitmap.cs
- MenuRendererStandards.cs
- ConnectionConsumerAttribute.cs
- MultipleFilterMatchesException.cs
- MSG.cs
- DesignerSerializerAttribute.cs
- HtmlInputSubmit.cs
- oledbmetadatacolumnnames.cs
- IntegrationExceptionEventArgs.cs
- CodeAssignStatement.cs
- ServiceNameCollection.cs
- SqlWebEventProvider.cs
- HyperlinkAutomationPeer.cs
- Query.cs
- ConfigXmlWhitespace.cs
- DispatchChannelSink.cs
- AnnotationStore.cs
- UIntPtr.cs
- Mutex.cs
- DataConnectionHelper.cs
- XamlGridLengthSerializer.cs
- RadialGradientBrush.cs
- FamilyMap.cs
- VoiceObjectToken.cs
- LinearKeyFrames.cs
- AssertUtility.cs
- Token.cs
- Button.cs
- DetailsViewDeleteEventArgs.cs
- TabItemWrapperAutomationPeer.cs
- COM2PropertyDescriptor.cs
- SiteMapNodeItemEventArgs.cs
- ValidationHelper.cs
- HtmlElementErrorEventArgs.cs
- GenericIdentity.cs
- OleDbRowUpdatedEvent.cs
- PropertyOrder.cs
- DigitShape.cs
- SocketAddress.cs
- Trace.cs
- QilScopedVisitor.cs
- DigestTraceRecordHelper.cs
- SqlNodeTypeOperators.cs
- ToolStripDropDownButton.cs
- SQlBooleanStorage.cs
- PersistencePipeline.cs
- TextBoxAutoCompleteSourceConverter.cs
- StringCollection.cs
- Point.cs
- XPathExpr.cs
- SurrogateEncoder.cs
- FontWeightConverter.cs
- BitmapData.cs
- sqlmetadatafactory.cs
- BatchServiceHost.cs
- PngBitmapDecoder.cs
- StreamInfo.cs
- ResourcesChangeInfo.cs
- ConnectionStringsExpressionBuilder.cs
- SettingsProperty.cs
- CellParaClient.cs
- CapacityStreamGeometryContext.cs
- System.Data_BID.cs
- DesignerTransactionCloseEvent.cs
- SecureStringHasher.cs
- SoapClientMessage.cs
- ResizeGrip.cs
- CSharpCodeProvider.cs
- EmbeddedObject.cs
- GridViewSortEventArgs.cs
- BitmapMetadataEnumerator.cs
- StrokeCollection2.cs
- KeyValueInternalCollection.cs
- ListSourceHelper.cs
- InfoCardPolicy.cs
- DesignTimeTemplateParser.cs
- RenderContext.cs
- AuthStoreRoleProvider.cs
- RowCache.cs
- DeclarativeCatalogPart.cs
- CustomErrorsSection.cs
- SimpleTextLine.cs
- GroupBox.cs
- SettingsAttributeDictionary.cs
- IriParsingElement.cs
- StrokeDescriptor.cs
- FormViewPageEventArgs.cs
- SHA512CryptoServiceProvider.cs
- DataSourceControl.cs
- ConnectionStringsSection.cs