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
- WebException.cs
- TransformerInfoCollection.cs
- CodeBlockBuilder.cs
- WithParamAction.cs
- IteratorDescriptor.cs
- ContextStaticAttribute.cs
- SchemaExporter.cs
- Unit.cs
- AudioSignalProblemOccurredEventArgs.cs
- Window.cs
- ProcessHostMapPath.cs
- ToolStripCollectionEditor.cs
- XsltLoader.cs
- SocketStream.cs
- SerializerProvider.cs
- panel.cs
- LongSumAggregationOperator.cs
- RuleInfoComparer.cs
- InvalidDataException.cs
- SHA384CryptoServiceProvider.cs
- XsdDateTime.cs
- EntryPointNotFoundException.cs
- DeflateStream.cs
- DocumentApplicationJournalEntry.cs
- GlobalizationAssembly.cs
- sqlstateclientmanager.cs
- Stroke.cs
- SplashScreen.cs
- XmlNamespaceManager.cs
- EntityDataSourceWrapperCollection.cs
- pingexception.cs
- SiteMapNodeItemEventArgs.cs
- CapabilitiesSection.cs
- OdbcConnectionHandle.cs
- basemetadatamappingvisitor.cs
- DataStorage.cs
- ReflectionPermission.cs
- PassportAuthentication.cs
- AttachInfo.cs
- FontFamily.cs
- StyleXamlParser.cs
- HandleTable.cs
- SqlLiftIndependentRowExpressions.cs
- Selection.cs
- ExpressionSelection.cs
- QueueProcessor.cs
- TypefaceCollection.cs
- TextViewSelectionProcessor.cs
- Timer.cs
- QuaternionIndependentAnimationStorage.cs
- HtmlWindowCollection.cs
- MemberAssignmentAnalysis.cs
- DataTableCollection.cs
- DbConnectionClosed.cs
- ScriptBehaviorDescriptor.cs
- QuaternionValueSerializer.cs
- VisualCollection.cs
- Vector3DConverter.cs
- ButtonFieldBase.cs
- EngineSiteSapi.cs
- EncoderExceptionFallback.cs
- _ConnectionGroup.cs
- MetricEntry.cs
- Crc32.cs
- EdmSchemaError.cs
- VirtualizingStackPanel.cs
- XPathPatternParser.cs
- SqlDataSourceView.cs
- WindowsRichEditRange.cs
- ConstructorBuilder.cs
- TextOnlyOutput.cs
- sapiproxy.cs
- SystemIPAddressInformation.cs
- OpenFileDialog.cs
- WebControlParameterProxy.cs
- Double.cs
- MailMessage.cs
- WindowPatternIdentifiers.cs
- CellQuery.cs
- XPathNode.cs
- HuffCodec.cs
- EventLogPermissionAttribute.cs
- TriState.cs
- SqlCachedBuffer.cs
- log.cs
- BindingContext.cs
- TextSimpleMarkerProperties.cs
- Int32Converter.cs
- Translator.cs
- ProfileSection.cs
- HitTestDrawingContextWalker.cs
- Font.cs
- NavigationProperty.cs
- SecurityAlgorithmSuiteConverter.cs
- _BasicClient.cs
- NCryptNative.cs
- FileLogRecordStream.cs
- SoapProtocolImporter.cs
- SQLInt64Storage.cs
- InvalidProgramException.cs