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
- CalendarDateRange.cs
- HighContrastHelper.cs
- OutgoingWebRequestContext.cs
- TextEditorContextMenu.cs
- StrongNameSignatureInformation.cs
- PixelShader.cs
- RolePrincipal.cs
- GuidelineCollection.cs
- FusionWrap.cs
- RenderData.cs
- DbConnectionOptions.cs
- FragmentNavigationEventArgs.cs
- ListBoxDesigner.cs
- Triplet.cs
- VirtualPath.cs
- FunctionDetailsReader.cs
- InvalidCommandTreeException.cs
- DefaultClaimSet.cs
- Int32Converter.cs
- InboundActivityHelper.cs
- ObjectSecurityT.cs
- TraceProvider.cs
- Label.cs
- Paragraph.cs
- EditBehavior.cs
- ConnectionProviderAttribute.cs
- XomlCompiler.cs
- StreamInfo.cs
- OleStrCAMarshaler.cs
- XmlCountingReader.cs
- TagNameToTypeMapper.cs
- DataGridViewAdvancedBorderStyle.cs
- SqlDataSourceDesigner.cs
- IdnMapping.cs
- ViewBase.cs
- IdentityReference.cs
- QilIterator.cs
- AsymmetricSignatureDeformatter.cs
- DataRowIndexBuffer.cs
- ProcessHostServerConfig.cs
- XmlDataSourceView.cs
- CorruptStoreException.cs
- PropertyGridCommands.cs
- ColorContextHelper.cs
- UndirectedGraph.cs
- MinimizableAttributeTypeConverter.cs
- XmlSchemaInclude.cs
- MarkupObject.cs
- InputDevice.cs
- Mapping.cs
- ResXResourceSet.cs
- ValidationEventArgs.cs
- OdbcConnectionStringbuilder.cs
- HitTestResult.cs
- DropDownButton.cs
- ManipulationVelocities.cs
- WeakReference.cs
- SpeechDetectedEventArgs.cs
- StringHandle.cs
- ForeignKeyConstraint.cs
- FixedSOMSemanticBox.cs
- SafeRightsManagementHandle.cs
- SerTrace.cs
- sortedlist.cs
- PerformanceCounterPermission.cs
- Operator.cs
- LastQueryOperator.cs
- XPathAncestorIterator.cs
- VoiceChangeEventArgs.cs
- ElementFactory.cs
- PenContexts.cs
- EditingCoordinator.cs
- HintTextMaxWidthConverter.cs
- AuthenticationModulesSection.cs
- DesignerWidgets.cs
- InvalidTimeZoneException.cs
- DrawingGroupDrawingContext.cs
- WebControlAdapter.cs
- DataGridItemEventArgs.cs
- ColumnResizeUndoUnit.cs
- PeerTransportElement.cs
- CompositeDataBoundControl.cs
- WorkflowRuntimeServiceElementCollection.cs
- WhereQueryOperator.cs
- LinearQuaternionKeyFrame.cs
- ChannelBuilder.cs
- UserMapPath.cs
- ObjectStateEntryDbDataRecord.cs
- MailAddressCollection.cs
- MetadataReference.cs
- WebSysDescriptionAttribute.cs
- MatrixAnimationUsingPath.cs
- SvcMapFileSerializer.cs
- ExpressionBuilder.cs
- DecimalConstantAttribute.cs
- AutoGeneratedFieldProperties.cs
- XmlNode.cs
- ListViewInsertEventArgs.cs
- ElementHost.cs
- AbandonedMutexException.cs