Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / MappingException.cs / 2 / 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
- ToolStripContentPanel.cs
- PrintEvent.cs
- GridViewPageEventArgs.cs
- Keywords.cs
- XmlSequenceWriter.cs
- SystemIPGlobalStatistics.cs
- CustomErrorsSection.cs
- SelectionListComponentEditor.cs
- CompiledQuery.cs
- StorageRoot.cs
- EdmFunctions.cs
- Timer.cs
- WindowsFormsHostAutomationPeer.cs
- ProfileModule.cs
- ImageBrush.cs
- ActivitiesCollection.cs
- CanonicalFontFamilyReference.cs
- Parameter.cs
- ListViewAutomationPeer.cs
- DataViewSettingCollection.cs
- TagPrefixAttribute.cs
- RegexGroupCollection.cs
- HttpStaticObjectsCollectionBase.cs
- MarkedHighlightComponent.cs
- TemplateXamlParser.cs
- ListItemCollection.cs
- RepeaterItemEventArgs.cs
- XmlNullResolver.cs
- TimerElapsedEvenArgs.cs
- Schema.cs
- Pen.cs
- Codec.cs
- RectangleConverter.cs
- Light.cs
- DrawingAttributesDefaultValueFactory.cs
- UrlMappingsSection.cs
- PresentationSource.cs
- ResourceExpression.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- XPathParser.cs
- WindowsListView.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ObjectViewListener.cs
- TreeView.cs
- PropagatorResult.cs
- EventLogPermissionAttribute.cs
- Overlapped.cs
- WebPartHelpVerb.cs
- ListBase.cs
- BatchParser.cs
- KeyToListMap.cs
- Grammar.cs
- HtmlTableCellCollection.cs
- ArrangedElementCollection.cs
- WebPartVerbsEventArgs.cs
- HostingEnvironmentSection.cs
- SyntaxCheck.cs
- SystemGatewayIPAddressInformation.cs
- DocumentOrderQuery.cs
- ScrollItemPatternIdentifiers.cs
- ExplicitDiscriminatorMap.cs
- RestClientProxyHandler.cs
- WebPartConnectionsCancelVerb.cs
- ConfigurationSectionCollection.cs
- FormViewDeleteEventArgs.cs
- AdornerHitTestResult.cs
- ObjectDataSourceEventArgs.cs
- SqlTriggerContext.cs
- EventItfInfo.cs
- SafeRightsManagementHandle.cs
- MissingManifestResourceException.cs
- PassportPrincipal.cs
- DataGridViewCellStateChangedEventArgs.cs
- FunctionMappingTranslator.cs
- XmlSerializerObjectSerializer.cs
- SkewTransform.cs
- BindingCollectionElement.cs
- CanExecuteRoutedEventArgs.cs
- ParameterRetriever.cs
- MetaType.cs
- SymbolTable.cs
- PassportPrincipal.cs
- ResizeGrip.cs
- HtmlInputFile.cs
- SoapFaultCodes.cs
- XPathDescendantIterator.cs
- __FastResourceComparer.cs
- PageAsyncTaskManager.cs
- InstanceLockLostException.cs
- Style.cs
- ToolBarPanel.cs
- WebPartHelpVerb.cs
- Int32AnimationUsingKeyFrames.cs
- InterleavedZipPartStream.cs
- Panel.cs
- X509SecurityToken.cs
- RawStylusInputReport.cs
- VariantWrapper.cs
- KeyValueSerializer.cs
- ConfigXmlDocument.cs