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
- WmlSelectionListAdapter.cs
- EntityDataSourceChangingEventArgs.cs
- SmiEventSink_Default.cs
- SkipStoryboardToFill.cs
- D3DImage.cs
- XmlElementElementCollection.cs
- WorkflowDataContext.cs
- EventProperty.cs
- BufferBuilder.cs
- NTAccount.cs
- ActivityInstanceReference.cs
- xamlnodes.cs
- ButtonBase.cs
- PrePostDescendentsWalker.cs
- LifetimeServices.cs
- SmiXetterAccessMap.cs
- LoginCancelEventArgs.cs
- CallbackValidator.cs
- BigInt.cs
- ButtonFieldBase.cs
- TextFormatterHost.cs
- RuleAction.cs
- ToolStripDropDown.cs
- ToolStripComboBox.cs
- PartBasedPackageProperties.cs
- ContentElement.cs
- SystemInformation.cs
- CleanUpVirtualizedItemEventArgs.cs
- HijriCalendar.cs
- CatalogPartChrome.cs
- ObjectListCommandsPage.cs
- LineInfo.cs
- SecurityManager.cs
- BrowsableAttribute.cs
- NamespaceDisplay.xaml.cs
- SharedStatics.cs
- PagerSettings.cs
- CustomAttributeSerializer.cs
- SqlProviderUtilities.cs
- ColorAnimation.cs
- xdrvalidator.cs
- SwitchLevelAttribute.cs
- XsdDataContractImporter.cs
- QilBinary.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MailBnfHelper.cs
- HighContrastHelper.cs
- RSACryptoServiceProvider.cs
- Utils.cs
- CellParagraph.cs
- MarkerProperties.cs
- ListViewHitTestInfo.cs
- WebBrowserDocumentCompletedEventHandler.cs
- BitVec.cs
- FieldTemplateFactory.cs
- FunctionUpdateCommand.cs
- ToolStripDropDownMenu.cs
- SQLMembershipProvider.cs
- XmlDeclaration.cs
- QilReplaceVisitor.cs
- SelectedPathEditor.cs
- EmissiveMaterial.cs
- RegistrationServices.cs
- PartialCachingAttribute.cs
- SqlUDTStorage.cs
- Int64AnimationBase.cs
- XmlSchema.cs
- Int32CollectionConverter.cs
- ViewStateException.cs
- ReadOnlyHierarchicalDataSource.cs
- ControlValuePropertyAttribute.cs
- TextUtf8RawTextWriter.cs
- PointLightBase.cs
- SafeNativeMethods.cs
- StreamUpgradeBindingElement.cs
- DeclarativeConditionsCollection.cs
- Transform.cs
- SizeAnimationBase.cs
- XmlWrappingReader.cs
- TTSVoice.cs
- XsltOutput.cs
- ActivityLocationReferenceEnvironment.cs
- TiffBitmapEncoder.cs
- HeaderFilter.cs
- ChangesetResponse.cs
- ImageListStreamer.cs
- Behavior.cs
- QilIterator.cs
- Char.cs
- WebPartZone.cs
- WsiProfilesElementCollection.cs
- InputLanguageCollection.cs
- ListBoxAutomationPeer.cs
- DataStreams.cs
- ActivitySurrogate.cs
- TcpChannelHelper.cs
- EventItfInfo.cs
- DateTimeOffsetConverter.cs
- Viewport2DVisual3D.cs
- BitmapEffect.cs