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
- TraceHwndHost.cs
- EpmContentSerializerBase.cs
- SqlExpander.cs
- EncryptedXml.cs
- FilePrompt.cs
- IUnknownConstantAttribute.cs
- JournalNavigationScope.cs
- Vector3DCollectionValueSerializer.cs
- ReliableReplySessionChannel.cs
- HtmlImage.cs
- UInt64Converter.cs
- Control.cs
- Exception.cs
- PagedControl.cs
- WebPartPersonalization.cs
- CodeCommentStatement.cs
- CookieHandler.cs
- TextBoxRenderer.cs
- XmlWellformedWriter.cs
- Merger.cs
- OperandQuery.cs
- Keywords.cs
- Activation.cs
- ProcessModuleCollection.cs
- EpmAttributeNameBuilder.cs
- CacheRequest.cs
- WebPartTracker.cs
- FixedSOMTextRun.cs
- DbProviderFactory.cs
- XamlParser.cs
- XmlTextReader.cs
- EncryptedReference.cs
- OdbcParameter.cs
- DynamicValidatorEventArgs.cs
- Invariant.cs
- SqlDataSourceStatusEventArgs.cs
- ElementInit.cs
- CodeGotoStatement.cs
- FunctionUpdateCommand.cs
- DataGridViewCellEventArgs.cs
- AggregateNode.cs
- HttpVersion.cs
- CallContext.cs
- Manipulation.cs
- TableCell.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- TypedTableHandler.cs
- EmissiveMaterial.cs
- IntSecurity.cs
- HashCryptoHandle.cs
- ListDictionary.cs
- SHA384.cs
- FileCodeGroup.cs
- Compiler.cs
- BuildDependencySet.cs
- StylusPlugin.cs
- PropertyItem.cs
- CryptoConfig.cs
- Keyboard.cs
- MouseEventArgs.cs
- ButtonRenderer.cs
- SimpleTextLine.cs
- ByteArrayHelperWithString.cs
- DataGridPageChangedEventArgs.cs
- EventSinkHelperWriter.cs
- ConfigurationElementProperty.cs
- FastPropertyAccessor.cs
- ResourceExpressionBuilder.cs
- ExpressionBuilderContext.cs
- ExeConfigurationFileMap.cs
- SimpleTypeResolver.cs
- ToolboxItemImageConverter.cs
- StoreItemCollection.cs
- DefinitionBase.cs
- SemanticBasicElement.cs
- MsmqTransportSecurityElement.cs
- InvokeBinder.cs
- WebEventCodes.cs
- NativeMethods.cs
- RelationshipEntry.cs
- TextEditorMouse.cs
- _AcceptOverlappedAsyncResult.cs
- ResourceAttributes.cs
- ReflectEventDescriptor.cs
- XPathNodeIterator.cs
- MemoryStream.cs
- Privilege.cs
- XmlExceptionHelper.cs
- DrawingVisual.cs
- SecurityPolicySection.cs
- SecurityCriticalDataForSet.cs
- ObjectCloneHelper.cs
- RenderDataDrawingContext.cs
- FlowPosition.cs
- SingleSelectRootGridEntry.cs
- RuntimeCompatibilityAttribute.cs
- AssemblyCollection.cs
- ItemCheckEvent.cs
- ConnectionPointGlyph.cs
- SoapBinding.cs