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
- LinkArea.cs
- CheckBoxAutomationPeer.cs
- SimpleHandlerBuildProvider.cs
- DeflateInput.cs
- cache.cs
- HyperLinkColumn.cs
- DefaultExpressionVisitor.cs
- InteropAutomationProvider.cs
- WindowsFormsHostAutomationPeer.cs
- IResourceProvider.cs
- DocumentViewer.cs
- TextureBrush.cs
- IdleTimeoutMonitor.cs
- UniformGrid.cs
- DurableMessageDispatchInspector.cs
- SynchronizationValidator.cs
- XmlSerializableReader.cs
- XmlSchemaType.cs
- exports.cs
- StandardTransformFactory.cs
- DuplicateWaitObjectException.cs
- HttpInputStream.cs
- HttpBrowserCapabilitiesWrapper.cs
- ReceiveSecurityHeaderEntry.cs
- TcpChannelFactory.cs
- ItemChangedEventArgs.cs
- WebPartHeaderCloseVerb.cs
- DataObjectMethodAttribute.cs
- CatalogPart.cs
- DataServiceQueryProvider.cs
- ColumnHeaderConverter.cs
- ResourceDescriptionAttribute.cs
- HttpCacheParams.cs
- HttpRequestMessageProperty.cs
- BufferedGraphics.cs
- MediaScriptCommandRoutedEventArgs.cs
- Size3D.cs
- _ProxyRegBlob.cs
- SystemWebCachingSectionGroup.cs
- PrintControllerWithStatusDialog.cs
- FixedLineResult.cs
- CustomAssemblyResolver.cs
- ConfigurationElementProperty.cs
- MissingMethodException.cs
- XmlBinaryReader.cs
- PenThread.cs
- EntityViewGenerator.cs
- Journaling.cs
- Fonts.cs
- TripleDES.cs
- EntityViewGenerationAttribute.cs
- DataSysAttribute.cs
- Component.cs
- TextSelectionHelper.cs
- SerializeAbsoluteContext.cs
- Compiler.cs
- StringConcat.cs
- DbConnectionPool.cs
- MetaModel.cs
- Unit.cs
- UserNamePasswordClientCredential.cs
- ButtonColumn.cs
- GenericRootAutomationPeer.cs
- PseudoWebRequest.cs
- PerfCounters.cs
- CertificateManager.cs
- ConfigurationValidatorAttribute.cs
- ObjectTag.cs
- GroupDescription.cs
- SingleResultAttribute.cs
- DataListItemEventArgs.cs
- TrueReadOnlyCollection.cs
- EventLogEntryCollection.cs
- PageAsyncTaskManager.cs
- IChannel.cs
- TriggerBase.cs
- BmpBitmapEncoder.cs
- HtmlAnchor.cs
- XsltInput.cs
- GeneralTransform3D.cs
- WebPartDisplayModeCancelEventArgs.cs
- BitmapEffectrendercontext.cs
- DesignerActionPropertyItem.cs
- RemoteWebConfigurationHost.cs
- SizeValueSerializer.cs
- XmlSchemaSimpleContent.cs
- SystemNetworkInterface.cs
- PageParserFilter.cs
- ToolstripProfessionalRenderer.cs
- BaseDataListActionList.cs
- RtType.cs
- StylusButton.cs
- XamlTemplateSerializer.cs
- InputMethodStateChangeEventArgs.cs
- CTreeGenerator.cs
- PolyLineSegment.cs
- UpWmlMobileTextWriter.cs
- XmlAttributeAttribute.cs
- FilterFactory.cs
- CreateSequence.cs