Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / MappingException.cs / 3 / 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
- SQLGuid.cs
- WebBrowserUriTypeConverter.cs
- SHA512.cs
- ManagementException.cs
- XmlSchemaSimpleContent.cs
- ToolStripPanelSelectionGlyph.cs
- XmlSchemaSimpleContent.cs
- mactripleDES.cs
- TCPListener.cs
- TypedServiceChannelBuilder.cs
- AvTrace.cs
- InternalControlCollection.cs
- QilBinary.cs
- Relationship.cs
- SoapReflectionImporter.cs
- EntityDataSource.cs
- MetaModel.cs
- SpecialNameAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- TransformValueSerializer.cs
- BasicCellRelation.cs
- DesignTimeTemplateParser.cs
- WorkItem.cs
- CookieProtection.cs
- RecommendedAsConfigurableAttribute.cs
- DataGridDesigner.cs
- KnowledgeBase.cs
- OptionalRstParameters.cs
- CheckPair.cs
- GradientSpreadMethodValidation.cs
- FileDialog_Vista_Interop.cs
- ApplicationServiceManager.cs
- ChannelServices.cs
- HttpStaticObjectsCollectionBase.cs
- DtrList.cs
- ColumnReorderedEventArgs.cs
- BufferedGraphics.cs
- webeventbuffer.cs
- ApplicationBuildProvider.cs
- ComponentConverter.cs
- XamlClipboardData.cs
- SqlErrorCollection.cs
- DnsPermission.cs
- ListenerConstants.cs
- VirtualizedCellInfoCollection.cs
- BoundPropertyEntry.cs
- SafeNativeMethods.cs
- Polyline.cs
- Point3DCollection.cs
- WhileDesigner.xaml.cs
- DocComment.cs
- TreeSet.cs
- SourceFilter.cs
- ScrollData.cs
- GridPatternIdentifiers.cs
- ExpressionLexer.cs
- shaperfactory.cs
- TagPrefixInfo.cs
- ThaiBuddhistCalendar.cs
- mongolianshape.cs
- MatrixCamera.cs
- NoneExcludedImageIndexConverter.cs
- ReadOnlyDictionary.cs
- HttpCapabilitiesEvaluator.cs
- pingexception.cs
- WebPartConnection.cs
- WindowsGrip.cs
- Int64AnimationUsingKeyFrames.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ExpressionWriter.cs
- DecimalAnimation.cs
- TextContainerChangedEventArgs.cs
- Convert.cs
- ConditionalBranch.cs
- Membership.cs
- AQNBuilder.cs
- Brush.cs
- EventlogProvider.cs
- PrintDialogException.cs
- DbDataAdapter.cs
- RoleManagerModule.cs
- WCFBuildProvider.cs
- Substitution.cs
- WindowHideOrCloseTracker.cs
- SqlXmlStorage.cs
- SvcMapFileSerializer.cs
- ScrollChangedEventArgs.cs
- WCFModelStrings.Designer.cs
- SqlColumnizer.cs
- MetadataArtifactLoaderCompositeResource.cs
- ModelItemExtensions.cs
- AttributeCollection.cs
- QualifiedCellIdBoolean.cs
- TreeWalkHelper.cs
- MatrixTransform3D.cs
- ScaleTransform.cs
- PackageDigitalSignature.cs
- QueueException.cs
- _HTTPDateParse.cs
- XmlAnyAttributeAttribute.cs