Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / MappingException.cs / 1305376 / MappingException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; using System.Security.Permissions; using System.Collections.Generic; using System.Collections.ObjectModel; ////// Mapping exception class. Note that this class has state - so if you change even /// its internals, it can be a breaking change /// /// [Serializable] public sealed class MappingException : EntityException { ////// constructor with default message /// public MappingException() // required ctor : base(System.Data.Entity.Strings.Mapping_General_Error_0) { } ////// default constructor /// /// localized error message public MappingException(string message) // required ctor : base(message) { } ////// constructor /// /// localized error message /// inner exception public MappingException(string message, Exception innerException) // required ctor : base(message, innerException) { } ////// constructor for deserialization /// /// /// private MappingException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; using System.Security.Permissions; using System.Collections.Generic; using System.Collections.ObjectModel; ////// Mapping exception class. Note that this class has state - so if you change even /// its internals, it can be a breaking change /// /// [Serializable] public sealed class MappingException : EntityException { ////// constructor with default message /// public MappingException() // required ctor : base(System.Data.Entity.Strings.Mapping_General_Error_0) { } ////// default constructor /// /// localized error message public MappingException(string message) // required ctor : base(message) { } ////// constructor /// /// localized error message /// inner exception public MappingException(string message, Exception innerException) // required ctor : base(message, innerException) { } ////// constructor for deserialization /// /// /// private MappingException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // 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
- ByteAnimationUsingKeyFrames.cs
- HtmlButton.cs
- DynamicScriptObject.cs
- DynamicFilterExpression.cs
- VSDExceptions.cs
- TransformerTypeCollection.cs
- SHA256Managed.cs
- MetadataArtifactLoaderFile.cs
- PenCursorManager.cs
- DataGridViewCellLinkedList.cs
- BufferBuilder.cs
- CompositeDataBoundControl.cs
- MethodToken.cs
- ObjectStorage.cs
- RowBinding.cs
- ClientSession.cs
- OdbcEnvironmentHandle.cs
- AssemblyBuilder.cs
- loginstatus.cs
- DataReaderContainer.cs
- XsltOutput.cs
- Walker.cs
- ToolStripGrip.cs
- WebInvokeAttribute.cs
- FindCriteriaApril2005.cs
- Util.cs
- TabletDevice.cs
- CryptoHelper.cs
- EventWaitHandle.cs
- PackageRelationshipSelector.cs
- IgnoreFlushAndCloseStream.cs
- GridViewUpdatedEventArgs.cs
- Baml2006Reader.cs
- BufferedWebEventProvider.cs
- ManagedFilter.cs
- NamespaceImport.cs
- MenuItemBinding.cs
- OrderedDictionary.cs
- SHA512Managed.cs
- CacheAxisQuery.cs
- ResourceExpressionBuilder.cs
- ScriptingWebServicesSectionGroup.cs
- SecurityManager.cs
- SecUtil.cs
- XmlSortKeyAccumulator.cs
- TextDecoration.cs
- DeviceSpecific.cs
- XPathPatternBuilder.cs
- BinaryObjectInfo.cs
- XPathNodeIterator.cs
- keycontainerpermission.cs
- PasswordDeriveBytes.cs
- AxDesigner.cs
- SQLMoneyStorage.cs
- OdbcUtils.cs
- Pkcs9Attribute.cs
- KeyedCollection.cs
- Speller.cs
- BrowserInteropHelper.cs
- MouseGesture.cs
- EdmProviderManifest.cs
- TextOnlyOutput.cs
- TrustManagerMoreInformation.cs
- KeyInfo.cs
- Internal.cs
- DrawingBrush.cs
- TextEditor.cs
- DataTrigger.cs
- TableAdapterManagerNameHandler.cs
- SolidColorBrush.cs
- InvalidCastException.cs
- Message.cs
- ViewPort3D.cs
- PersonalizationStateQuery.cs
- ValidationPropertyAttribute.cs
- GenericsNotImplementedException.cs
- ComponentDispatcher.cs
- ExternalFile.cs
- PrivacyNoticeElement.cs
- Peer.cs
- UIInitializationException.cs
- ParallelDesigner.cs
- EventLogEntry.cs
- RelatedCurrencyManager.cs
- OdbcFactory.cs
- FrameworkElementFactory.cs
- TemplatePropertyEntry.cs
- DataGridViewImageCell.cs
- HttpResponse.cs
- RoutedEventHandlerInfo.cs
- TimeZoneInfo.cs
- ScriptComponentDescriptor.cs
- ToolboxBitmapAttribute.cs
- ZipIOBlockManager.cs
- KerberosSecurityTokenProvider.cs
- SmtpDigestAuthenticationModule.cs
- DATA_BLOB.cs
- ValidationHelper.cs
- SizeChangedEventArgs.cs
- RecognizerStateChangedEventArgs.cs