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
- DependencySource.cs
- NamespaceCollection.cs
- ProviderConnectionPoint.cs
- InstanceKeyCollisionException.cs
- FillRuleValidation.cs
- SystemBrushes.cs
- SafeFileMappingHandle.cs
- EventLogLink.cs
- MenuItemBinding.cs
- ServiceContractAttribute.cs
- SelectorAutomationPeer.cs
- SystemIcmpV6Statistics.cs
- EventWaitHandle.cs
- brushes.cs
- Win32Interop.cs
- PropertyChangeTracker.cs
- PersistChildrenAttribute.cs
- XhtmlTextWriter.cs
- ThemeableAttribute.cs
- HtmlButton.cs
- AppSettingsExpressionBuilder.cs
- Pair.cs
- RotateTransform3D.cs
- documentsequencetextcontainer.cs
- PointKeyFrameCollection.cs
- ObservableCollectionDefaultValueFactory.cs
- MatrixAnimationUsingPath.cs
- DataTableClearEvent.cs
- ColorConvertedBitmapExtension.cs
- EntityDataSourceSelectedEventArgs.cs
- Directory.cs
- SecurityUtils.cs
- CrossAppDomainChannel.cs
- AppDomainProtocolHandler.cs
- PathParser.cs
- WebPartEditVerb.cs
- XmlWriterSettings.cs
- AuthenticationModuleElement.cs
- SpeechRecognizer.cs
- String.cs
- ControlCollection.cs
- CodeArgumentReferenceExpression.cs
- AutoGeneratedField.cs
- StandardOleMarshalObject.cs
- ObjectSecurity.cs
- commandenforcer.cs
- SelectionItemPattern.cs
- MinMaxParagraphWidth.cs
- SqlEnums.cs
- PermissionSet.cs
- ElementAtQueryOperator.cs
- ValuePattern.cs
- Int32KeyFrameCollection.cs
- SmiRecordBuffer.cs
- DisplayNameAttribute.cs
- FolderLevelBuildProviderCollection.cs
- FontStretches.cs
- TreeWalker.cs
- XmlDownloadManager.cs
- FontFamily.cs
- UserCancellationException.cs
- ParameterElement.cs
- IPEndPoint.cs
- ProtocolsSection.cs
- RunClient.cs
- WebPartMenuStyle.cs
- ConversionContext.cs
- NameScopePropertyAttribute.cs
- ExtentCqlBlock.cs
- UnionCqlBlock.cs
- PathNode.cs
- ExceptionCollection.cs
- VisualTreeFlattener.cs
- FrameworkContextData.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- HtmlLink.cs
- XslNumber.cs
- ListenerElementsCollection.cs
- ButtonRenderer.cs
- BackgroundWorker.cs
- CodeDomSerializerException.cs
- XmlFormatExtensionPrefixAttribute.cs
- HyperLinkStyle.cs
- TextContainerHelper.cs
- WindowsListViewGroupHelper.cs
- UserUseLicenseDictionaryLoader.cs
- handlecollector.cs
- SqlConnectionManager.cs
- ParseElement.cs
- WebPartConnectVerb.cs
- ParentQuery.cs
- Int64KeyFrameCollection.cs
- WmlControlAdapter.cs
- XmlILIndex.cs
- DefaultTextStoreTextComposition.cs
- XPathConvert.cs
- UnsafeNativeMethods.cs
- WebPartConnectionsConnectVerb.cs
- InstancePersistenceCommand.cs
- EventProxy.cs