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
- UnsafeNativeMethods.cs
- SoapEnumAttribute.cs
- BinaryFormatterWriter.cs
- LocatorPart.cs
- ControlParameter.cs
- TextEditorCharacters.cs
- RandomNumberGenerator.cs
- OutputBuffer.cs
- TextSchema.cs
- DocumentGridPage.cs
- TableCell.cs
- UserInitiatedNavigationPermission.cs
- MaskInputRejectedEventArgs.cs
- DataGridTemplateColumn.cs
- CollectionAdapters.cs
- ResourceCollectionInfo.cs
- TextRangeAdaptor.cs
- ComponentRenameEvent.cs
- ComponentResourceManager.cs
- DesignTimeVisibleAttribute.cs
- Certificate.cs
- TypeNameHelper.cs
- UiaCoreApi.cs
- PerformanceCountersElement.cs
- MenuItemBinding.cs
- XPathMultyIterator.cs
- uribuilder.cs
- EntityDesignerBuildProvider.cs
- OneOfConst.cs
- DataViewManagerListItemTypeDescriptor.cs
- GridViewUpdatedEventArgs.cs
- PathFigureCollection.cs
- HMACSHA256.cs
- PathFigureCollection.cs
- EditingCoordinator.cs
- ObjectReaderCompiler.cs
- Visual.cs
- SizeF.cs
- ListViewCancelEventArgs.cs
- BrowserTree.cs
- RawAppCommandInputReport.cs
- ThreadExceptionDialog.cs
- GeometryHitTestParameters.cs
- QilBinary.cs
- SelectionChangedEventArgs.cs
- BezierSegment.cs
- _LoggingObject.cs
- Cloud.cs
- ByteAnimationBase.cs
- StateMachineExecutionState.cs
- _ListenerAsyncResult.cs
- CompareValidator.cs
- XPathScanner.cs
- RegexReplacement.cs
- DetailsViewRow.cs
- HtmlSelect.cs
- ImageCodecInfoPrivate.cs
- PackagePart.cs
- ThousandthOfEmRealDoubles.cs
- DynamicResourceExtensionConverter.cs
- Version.cs
- ControlDesignerState.cs
- unsafeIndexingFilterStream.cs
- ListControlBuilder.cs
- HandlerMappingMemo.cs
- PrintDialogException.cs
- XsdValidatingReader.cs
- AssociationProvider.cs
- CompoundFileStreamReference.cs
- SmtpLoginAuthenticationModule.cs
- EntityTransaction.cs
- MarginCollapsingState.cs
- CodeMemberMethod.cs
- XmlSequenceWriter.cs
- PlaceHolder.cs
- PasswordTextNavigator.cs
- Hashtable.cs
- WebServiceErrorEvent.cs
- SplitterCancelEvent.cs
- XmlElementCollection.cs
- ProfilePropertyNameValidator.cs
- ScaleTransform.cs
- unitconverter.cs
- ToolboxItemAttribute.cs
- StyleXamlTreeBuilder.cs
- StructuredTypeEmitter.cs
- GridItemProviderWrapper.cs
- SplashScreenNativeMethods.cs
- WorkflowInvoker.cs
- TextTreeObjectNode.cs
- SmiMetaDataProperty.cs
- FirstQueryOperator.cs
- ComponentEditorPage.cs
- ToolboxItemFilterAttribute.cs
- ContentPlaceHolder.cs
- WebPartConnection.cs
- WindowsListViewScroll.cs
- TraceData.cs
- MembershipValidatePasswordEventArgs.cs
- GACIdentityPermission.cs