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
- NotConverter.cs
- CapabilitiesRule.cs
- SwitchLevelAttribute.cs
- Tablet.cs
- SmtpAuthenticationManager.cs
- HtmlImageAdapter.cs
- AssemblyAttributesGoHere.cs
- HMAC.cs
- WebServiceMethodData.cs
- TopClause.cs
- RegistrySecurity.cs
- CodeTypeConstructor.cs
- DispatchWrapper.cs
- MachineKeyValidationConverter.cs
- SqlProviderManifest.cs
- MethodBuilderInstantiation.cs
- RedirectionProxy.cs
- EditingScopeUndoUnit.cs
- ZipIOExtraFieldElement.cs
- TdsParserSafeHandles.cs
- CursorConverter.cs
- Rectangle.cs
- TemplatedEditableDesignerRegion.cs
- AvTraceFormat.cs
- GlyphRunDrawing.cs
- InvalidProgramException.cs
- XmlnsDictionary.cs
- HttpPostProtocolImporter.cs
- QueryContinueDragEventArgs.cs
- AQNBuilder.cs
- TextHintingModeValidation.cs
- PersonalizableAttribute.cs
- DispatcherOperation.cs
- SafeCryptContextHandle.cs
- WorkflowDataContext.cs
- IItemContainerGenerator.cs
- WebSysDescriptionAttribute.cs
- PathData.cs
- LateBoundBitmapDecoder.cs
- WinEventHandler.cs
- DataControlReference.cs
- HttpListenerResponse.cs
- DocumentGrid.cs
- DecoderNLS.cs
- SizeAnimation.cs
- CodeSpit.cs
- RepeaterCommandEventArgs.cs
- EncryptedKeyIdentifierClause.cs
- TextBoxBase.cs
- DeferredSelectedIndexReference.cs
- Geometry3D.cs
- FontCacheUtil.cs
- SQLInt16.cs
- GroupItem.cs
- StreamGeometry.cs
- HtmlForm.cs
- ThreadStateException.cs
- ListParaClient.cs
- MultiView.cs
- TagPrefixAttribute.cs
- WinFormsSecurity.cs
- AsmxEndpointPickerExtension.cs
- PerfCounterSection.cs
- SemanticKeyElement.cs
- XmlWellformedWriter.cs
- Win32.cs
- RuleDefinitions.cs
- NullRuntimeConfig.cs
- MethodRental.cs
- HostSecurityManager.cs
- Adorner.cs
- GeneralTransformGroup.cs
- unsafenativemethodsother.cs
- GridViewDesigner.cs
- DataGridPageChangedEventArgs.cs
- DPCustomTypeDescriptor.cs
- LicenseManager.cs
- InstanceDataCollection.cs
- CreateRefExpr.cs
- FileLogRecord.cs
- MessageTransmitTraceRecord.cs
- ReadOnlyDataSource.cs
- Assembly.cs
- ResourcesBuildProvider.cs
- ReaderWriterLock.cs
- UnionExpr.cs
- WebBrowser.cs
- SelectedDatesCollection.cs
- ButtonBase.cs
- Marshal.cs
- Memoizer.cs
- HttpGetProtocolImporter.cs
- RefreshPropertiesAttribute.cs
- WebRequestModulesSection.cs
- ComponentEvent.cs
- PropertyMappingExceptionEventArgs.cs
- ReferencedType.cs
- CapabilitiesState.cs
- WindowsStartMenu.cs
- UnsafeNativeMethods.cs