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
- XPathAxisIterator.cs
- WeakRefEnumerator.cs
- SolidBrush.cs
- cookiecontainer.cs
- PageAsyncTaskManager.cs
- SqlCachedBuffer.cs
- NativeMethods.cs
- SafeReadContext.cs
- PaintValueEventArgs.cs
- reliableinputsessionchannel.cs
- SafeFindHandle.cs
- XsltCompileContext.cs
- TextBoxAutoCompleteSourceConverter.cs
- CategoryNameCollection.cs
- NotifyParentPropertyAttribute.cs
- CodePrimitiveExpression.cs
- SerializationFieldInfo.cs
- DayRenderEvent.cs
- AutomationProperties.cs
- SearchExpression.cs
- FirstMatchCodeGroup.cs
- AppDomainResourcePerfCounters.cs
- NetworkAddressChange.cs
- PrintDocument.cs
- Formatter.cs
- CodeArrayIndexerExpression.cs
- GeneralTransformCollection.cs
- ReadWriteObjectLock.cs
- MultiView.cs
- CodeMethodReturnStatement.cs
- ExpressionBuilderContext.cs
- ReturnType.cs
- MetaModel.cs
- ReturnType.cs
- FontWeight.cs
- ErrorTableItemStyle.cs
- AsymmetricKeyExchangeDeformatter.cs
- RelatedView.cs
- SBCSCodePageEncoding.cs
- AnnotationResource.cs
- TrailingSpaceComparer.cs
- PagesSection.cs
- FontSourceCollection.cs
- XmlSchemaElement.cs
- DataGridViewCellValueEventArgs.cs
- RSAOAEPKeyExchangeDeformatter.cs
- StructuredCompositeActivityDesigner.cs
- UrlAuthFailedErrorFormatter.cs
- MemberHolder.cs
- UnsafePeerToPeerMethods.cs
- DataGridTextBox.cs
- MsmqOutputMessage.cs
- PlatformCulture.cs
- XmlAttributeCollection.cs
- XmlSchemaCollection.cs
- MailWriter.cs
- ColorTranslator.cs
- DataGridRowsPresenter.cs
- AssemblyCollection.cs
- DbCommandDefinition.cs
- CompilerScopeManager.cs
- sqlinternaltransaction.cs
- Mutex.cs
- BindingsCollection.cs
- ServiceModelStringsVersion1.cs
- DefaultProxySection.cs
- PropertyFilter.cs
- StringCollection.cs
- DataGridViewDataErrorEventArgs.cs
- NameValuePermission.cs
- Sql8ConformanceChecker.cs
- OrderingInfo.cs
- log.cs
- DecimalFormatter.cs
- DataServiceClientException.cs
- X509Utils.cs
- ListViewItemMouseHoverEvent.cs
- BrowserTree.cs
- XmlAttributeCollection.cs
- FormView.cs
- ContentDisposition.cs
- userdatakeys.cs
- SiteMapNodeCollection.cs
- AttachedProperty.cs
- XmlSchemaComplexType.cs
- GridItem.cs
- FrameDimension.cs
- DataControlCommands.cs
- SQLByte.cs
- IOException.cs
- DiscreteKeyFrames.cs
- UnsafeNativeMethodsMilCoreApi.cs
- EventDescriptorCollection.cs
- BinaryQueryOperator.cs
- ImmutablePropertyDescriptorGridEntry.cs
- XNameTypeConverter.cs
- MulticastOption.cs
- UnaryNode.cs
- AsyncOperation.cs
- TextBoxBase.cs