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
- DataGridColumnDropSeparator.cs
- BooleanExpr.cs
- AutomationPatternInfo.cs
- LocatorGroup.cs
- CreateRefExpr.cs
- Privilege.cs
- DateTimeConstantAttribute.cs
- Vector3DKeyFrameCollection.cs
- OleCmdHelper.cs
- XmlSubtreeReader.cs
- TimeSpanValidatorAttribute.cs
- ServicePointManager.cs
- NonBatchDirectoryCompiler.cs
- OperatorExpressions.cs
- XamlBuildTaskServices.cs
- InkCollectionBehavior.cs
- XmlSchemaComplexContentRestriction.cs
- OdbcPermission.cs
- UInt16Converter.cs
- AutomationElement.cs
- TrustManager.cs
- WebPartConnectionsEventArgs.cs
- MSAAEventDispatcher.cs
- TemplateControlParser.cs
- DefaultValueConverter.cs
- ComponentCommands.cs
- DecimalSumAggregationOperator.cs
- Queue.cs
- XmlRawWriter.cs
- RawStylusActions.cs
- ColorMap.cs
- sqlstateclientmanager.cs
- CodeTypeReferenceCollection.cs
- BindingListCollectionView.cs
- IERequestCache.cs
- PageRanges.cs
- SendingRequestEventArgs.cs
- FontConverter.cs
- ProfileSettings.cs
- SystemIPInterfaceStatistics.cs
- SettingsAttributeDictionary.cs
- AssemblyUtil.cs
- InvalidDocumentContentsException.cs
- SelectionEditingBehavior.cs
- SqlDataSourceView.cs
- PrePostDescendentsWalker.cs
- Buffer.cs
- objectresult_tresulttype.cs
- XmlQualifiedName.cs
- ObjectListCommand.cs
- CornerRadiusConverter.cs
- ByteAnimation.cs
- SoapServerProtocol.cs
- ObfuscateAssemblyAttribute.cs
- FormViewModeEventArgs.cs
- DocumentViewerAutomationPeer.cs
- RectAnimation.cs
- ReadContentAsBinaryHelper.cs
- SecurityResources.cs
- PasswordDeriveBytes.cs
- DPTypeDescriptorContext.cs
- DataMemberConverter.cs
- LogExtentCollection.cs
- ExpressionBinding.cs
- TcpWorkerProcess.cs
- DbCommandTree.cs
- XmlCountingReader.cs
- RelationshipEntry.cs
- RecognizedAudio.cs
- CollectionViewGroupInternal.cs
- Size3D.cs
- DocumentViewer.cs
- MappedMetaModel.cs
- DiffuseMaterial.cs
- HandlerBase.cs
- SectionVisual.cs
- Renderer.cs
- SqlFlattener.cs
- MediaContext.cs
- autovalidator.cs
- ControlBindingsConverter.cs
- RemoteWebConfigurationHostStream.cs
- Translator.cs
- ServiceMetadataContractBehavior.cs
- ObjectDataSource.cs
- ServiceHostFactory.cs
- Attributes.cs
- SqlConnectionPoolProviderInfo.cs
- ObjectManager.cs
- JsonEnumDataContract.cs
- ConnectionInterfaceCollection.cs
- SrgsDocument.cs
- ReachPageContentCollectionSerializerAsync.cs
- ControlPaint.cs
- StickyNote.cs
- DataGridViewImageCell.cs
- StreamGeometryContext.cs
- Native.cs
- OrderedEnumerableRowCollection.cs
- Blend.cs