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
- XmlSchemaGroup.cs
- ControlAdapter.cs
- PrimitiveCodeDomSerializer.cs
- XmlAttributeOverrides.cs
- ManipulationVelocities.cs
- FontStyle.cs
- CodePropertyReferenceExpression.cs
- TextCompositionManager.cs
- SystemWebSectionGroup.cs
- WebServiceReceiveDesigner.cs
- ProgressBar.cs
- SemanticBasicElement.cs
- HttpListenerResponse.cs
- XMLSyntaxException.cs
- RsaSecurityTokenAuthenticator.cs
- DataGridViewHitTestInfo.cs
- LocalClientSecuritySettingsElement.cs
- MaxSessionCountExceededException.cs
- TabItemAutomationPeer.cs
- XdrBuilder.cs
- LocalizableAttribute.cs
- BasicHttpSecurity.cs
- EntityViewGenerator.cs
- PointCollection.cs
- CodeObject.cs
- Activity.cs
- WebHttpSecurityElement.cs
- BoundField.cs
- ProviderException.cs
- TypefaceMap.cs
- NetNamedPipeBindingElement.cs
- ObfuscateAssemblyAttribute.cs
- TextMarkerSource.cs
- PathGradientBrush.cs
- TextServicesHost.cs
- MachineKeySection.cs
- HttpWriter.cs
- OleDbConnectionInternal.cs
- TimeSpanValidatorAttribute.cs
- PageTheme.cs
- RightsManagementEncryptedStream.cs
- MulticastDelegate.cs
- TableItemStyle.cs
- UnsafeNativeMethods.cs
- VirtualPathProvider.cs
- QilChoice.cs
- InfiniteTimeSpanConverter.cs
- AdapterSwitches.cs
- DependencyPropertyConverter.cs
- UnitySerializationHolder.cs
- HtmlAnchor.cs
- X509Utils.cs
- MenuItemBinding.cs
- UpWmlMobileTextWriter.cs
- Accessible.cs
- TextInfo.cs
- OdbcConnectionPoolProviderInfo.cs
- XXXOnTypeBuilderInstantiation.cs
- JpegBitmapEncoder.cs
- CodeAccessPermission.cs
- ThousandthOfEmRealDoubles.cs
- LeafCellTreeNode.cs
- PropertyDescriptorComparer.cs
- AutomationPattern.cs
- SecurityVerifiedMessage.cs
- NodeCounter.cs
- IPipelineRuntime.cs
- Codec.cs
- ValueOfAction.cs
- PostBackTrigger.cs
- Transform.cs
- MemberHolder.cs
- SoapServerProtocol.cs
- UInt32.cs
- _ChunkParse.cs
- SqlGenerator.cs
- AbstractDataSvcMapFileLoader.cs
- DataAdapter.cs
- GroupBox.cs
- Int32Rect.cs
- LinkLabelLinkClickedEvent.cs
- DataGridCell.cs
- DataListItemEventArgs.cs
- EntityDataSourceDataSelection.cs
- AnyAllSearchOperator.cs
- RectAnimationClockResource.cs
- InternalsVisibleToAttribute.cs
- RTLAwareMessageBox.cs
- PeerChannelListener.cs
- LinearKeyFrames.cs
- OdbcCommand.cs
- SystemUnicastIPAddressInformation.cs
- Calendar.cs
- MetafileHeader.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- MsmqInputSessionChannel.cs
- AnnotationHelper.cs
- RIPEMD160Managed.cs
- PenThreadPool.cs
- ObjectConverter.cs