Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / MappingException.cs / 1 / MappingException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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 [....], [....] //--------------------------------------------------------------------- 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
- CompilerResults.cs
- DataServiceCollectionOfT.cs
- CommandField.cs
- SqlBooleanizer.cs
- ValidatedControlConverter.cs
- DataGridView.cs
- AudioDeviceOut.cs
- SafeNativeMethodsMilCoreApi.cs
- CachedFontFace.cs
- SmuggledIUnknown.cs
- HealthMonitoringSectionHelper.cs
- FilteredAttributeCollection.cs
- ConnectorMovedEventArgs.cs
- TextWriter.cs
- SqlNodeAnnotation.cs
- Crypto.cs
- Geometry3D.cs
- RemotingSurrogateSelector.cs
- EventLogger.cs
- XmlStringTable.cs
- DataGridViewColumnCollection.cs
- TextPenaltyModule.cs
- EdmSchemaAttribute.cs
- ElementUtil.cs
- AesCryptoServiceProvider.cs
- TrustManagerPromptUI.cs
- PersonalizationStateInfoCollection.cs
- DashStyle.cs
- TypeEnumerableViewSchema.cs
- SizeAnimation.cs
- State.cs
- ItemCollection.cs
- DbSourceCommand.cs
- RsaEndpointIdentity.cs
- CircleHotSpot.cs
- DataGridTextBoxColumn.cs
- QilXmlWriter.cs
- StreamInfo.cs
- XmlSerializerAssemblyAttribute.cs
- Internal.cs
- QuaternionAnimationBase.cs
- SqlParameterizer.cs
- NewArrayExpression.cs
- SpeechAudioFormatInfo.cs
- DesignerForm.cs
- AddressingProperty.cs
- WebColorConverter.cs
- keycontainerpermission.cs
- _ListenerRequestStream.cs
- XmlParserContext.cs
- _LoggingObject.cs
- ValidationPropertyAttribute.cs
- SignatureToken.cs
- XPathMessageFilterElement.cs
- Rectangle.cs
- DrawingContextWalker.cs
- ToggleProviderWrapper.cs
- SetterBase.cs
- WebPartConnectionCollection.cs
- MsmqIntegrationProcessProtocolHandler.cs
- InvalidAsynchronousStateException.cs
- ArgIterator.cs
- DesignerVerbCollection.cs
- __FastResourceComparer.cs
- FontNameConverter.cs
- ParseNumbers.cs
- SafeCryptContextHandle.cs
- GridViewColumn.cs
- ReaderWriterLock.cs
- IItemProperties.cs
- DataGridItem.cs
- WindowInteropHelper.cs
- JapaneseCalendar.cs
- GeometryConverter.cs
- WebEvents.cs
- Transform.cs
- BasicExpressionVisitor.cs
- UnionExpr.cs
- NamespaceEmitter.cs
- RemotingSurrogateSelector.cs
- XslCompiledTransform.cs
- FormatterServices.cs
- SessionIDManager.cs
- BitSet.cs
- IisTraceWebEventProvider.cs
- XmlNamespaceManager.cs
- RootBuilder.cs
- SafeArrayTypeMismatchException.cs
- FolderLevelBuildProviderCollection.cs
- OdbcConnectionString.cs
- Subtree.cs
- exports.cs
- Model3DGroup.cs
- SQLDoubleStorage.cs
- ListParagraph.cs
- HttpHeaderCollection.cs
- TPLETWProvider.cs
- SubMenuStyle.cs
- RecoverInstanceLocksCommand.cs
- TypeDescriptor.cs