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
- XmlSerializationReader.cs
- OciHandle.cs
- Attribute.cs
- FlowDocumentScrollViewer.cs
- LineMetrics.cs
- ToolStripInSituService.cs
- SettingsProviderCollection.cs
- AffineTransform3D.cs
- ServerValidateEventArgs.cs
- CharacterBuffer.cs
- ParseElement.cs
- PeerCollaborationPermission.cs
- GetUserPreferenceRequest.cs
- RayHitTestParameters.cs
- DataTableCollection.cs
- XmlSchemaAnnotated.cs
- IPAddress.cs
- CqlParser.cs
- SyndicationSerializer.cs
- KeyboardNavigation.cs
- EllipseGeometry.cs
- FlowDocumentReader.cs
- CommentEmitter.cs
- HtmlControl.cs
- CorruptStoreException.cs
- Visitor.cs
- InvokeWebServiceDesigner.cs
- WebRequest.cs
- XmlTypeMapping.cs
- ParseChildrenAsPropertiesAttribute.cs
- WriterOutput.cs
- DataGridViewDataConnection.cs
- MenuItemCollection.cs
- ApplicationServiceHelper.cs
- Rotation3DAnimationBase.cs
- ContentControl.cs
- BuildProvidersCompiler.cs
- EventLogEntryCollection.cs
- __TransparentProxy.cs
- Utilities.cs
- WizardForm.cs
- SharedStatics.cs
- DropShadowBitmapEffect.cs
- FontFamilyValueSerializer.cs
- ToolBarButton.cs
- SystemIcmpV6Statistics.cs
- DbConnectionPool.cs
- RewritingSimplifier.cs
- DesignerUtils.cs
- LoadedOrUnloadedOperation.cs
- DataIdProcessor.cs
- DiscoveryInnerClientAdhoc11.cs
- JoinCqlBlock.cs
- StreamUpgradeAcceptor.cs
- DataGridLinkButton.cs
- ParagraphVisual.cs
- StringResourceManager.cs
- XmlObjectSerializerWriteContextComplex.cs
- CollectionViewGroupRoot.cs
- FacetValues.cs
- TextEditorContextMenu.cs
- Models.cs
- WindowsFormsLinkLabel.cs
- Stack.cs
- CodeMemberEvent.cs
- Point3DAnimationUsingKeyFrames.cs
- ResourceKey.cs
- WsiProfilesElement.cs
- nulltextnavigator.cs
- HandlerWithFactory.cs
- GZipUtils.cs
- EventItfInfo.cs
- ClientOperationFormatterProvider.cs
- HwndMouseInputProvider.cs
- PrimitiveCodeDomSerializer.cs
- IPHostEntry.cs
- XPathAncestorIterator.cs
- EUCJPEncoding.cs
- ProxyGenerationError.cs
- CustomSignedXml.cs
- GlobalizationAssembly.cs
- AnimatedTypeHelpers.cs
- AstNode.cs
- WebServiceMethodData.cs
- TimeZone.cs
- XMLSyntaxException.cs
- TypeUsageBuilder.cs
- AbsoluteQuery.cs
- X509ScopedServiceCertificateElement.cs
- HtmlImageAdapter.cs
- ConstraintManager.cs
- UpdatePanelTrigger.cs
- PathFigure.cs
- FileSystemWatcher.cs
- DataGridViewComponentPropertyGridSite.cs
- DataServiceClientException.cs
- XmlSchemaAnnotated.cs
- PropertyConverter.cs
- CredentialCache.cs
- QilLoop.cs