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
- ScrollBar.cs
- SafeSecurityHandles.cs
- CodeDomSerializationProvider.cs
- SystemBrushes.cs
- PageSetupDialog.cs
- TrackBar.cs
- ArrayWithOffset.cs
- RuleSettings.cs
- System.Data.OracleClient_BID.cs
- ProviderCollection.cs
- PermissionAttributes.cs
- StickyNoteAnnotations.cs
- ConfigurationProviderException.cs
- FigureParaClient.cs
- CreateParams.cs
- PseudoWebRequest.cs
- MessageAction.cs
- WebPartsPersonalizationAuthorization.cs
- TemplateBamlRecordReader.cs
- PropertyReferenceExtension.cs
- WebPageTraceListener.cs
- ScriptHandlerFactory.cs
- CacheForPrimitiveTypes.cs
- AndCondition.cs
- ToolStripDropDownClosedEventArgs.cs
- SchemaConstraints.cs
- DCSafeHandle.cs
- BindingBase.cs
- CodeBinaryOperatorExpression.cs
- CryptoStream.cs
- ProviderSettingsCollection.cs
- MouseGesture.cs
- CollectionViewProxy.cs
- _AutoWebProxyScriptHelper.cs
- EdgeProfileValidation.cs
- Visual3D.cs
- OleDbEnumerator.cs
- NavigationWindow.cs
- ProcessRequestArgs.cs
- sqlinternaltransaction.cs
- DbParameterCollectionHelper.cs
- WebPartExportVerb.cs
- CommonDialog.cs
- WorkflowTransactionService.cs
- StylusPlugin.cs
- HierarchicalDataBoundControlAdapter.cs
- LayoutTableCell.cs
- PropertyGridEditorPart.cs
- ListenerUnsafeNativeMethods.cs
- DirectionalLight.cs
- OutputCacheModule.cs
- Int16Converter.cs
- counter.cs
- SystemIPInterfaceProperties.cs
- MethodToken.cs
- Container.cs
- Label.cs
- ConfigXmlText.cs
- WeakEventManager.cs
- LayoutSettings.cs
- WorkflowPrinting.cs
- CharAnimationBase.cs
- DeploymentExceptionMapper.cs
- ZipIOModeEnforcingStream.cs
- CmsInterop.cs
- DifferencingCollection.cs
- LineGeometry.cs
- XsltFunctions.cs
- ServiceHttpModule.cs
- SharedConnectionWorkflowTransactionService.cs
- MissingManifestResourceException.cs
- MiniLockedBorderGlyph.cs
- ToolStripControlHost.cs
- SqlTopReducer.cs
- SchemaTableColumn.cs
- Range.cs
- ImageMap.cs
- PieceDirectory.cs
- SecurityDescriptor.cs
- DataRelationPropertyDescriptor.cs
- NamespaceEmitter.cs
- VisualTreeFlattener.cs
- ModelUIElement3D.cs
- XMLDiffLoader.cs
- ReflectTypeDescriptionProvider.cs
- CustomAssemblyResolver.cs
- XmlAttributeProperties.cs
- ParseNumbers.cs
- ProcessModelSection.cs
- RelatedEnd.cs
- RankException.cs
- StreamResourceInfo.cs
- WindowsImpersonationContext.cs
- SqlDataSourceCommandEventArgs.cs
- SkewTransform.cs
- LinkLabel.cs
- IndexerReference.cs
- ipaddressinformationcollection.cs
- Lock.cs
- XmlReader.cs