Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / MappingException.cs / 1305376 / MappingException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- RecordConverter.cs
- FullTrustAssemblyCollection.cs
- Select.cs
- Utils.cs
- GridViewSelectEventArgs.cs
- RelatedView.cs
- XmlSchemaAnnotated.cs
- AttributedMetaModel.cs
- MessageDecoder.cs
- UntypedNullExpression.cs
- WindowsToolbarAsMenu.cs
- ListViewCommandEventArgs.cs
- OdbcUtils.cs
- DbConnectionHelper.cs
- ApplicationServiceHelper.cs
- ExpressionConverter.cs
- ToolStripContentPanelRenderEventArgs.cs
- WebPartEditorApplyVerb.cs
- HostingEnvironmentSection.cs
- ProfileModule.cs
- UIElementHelper.cs
- WebBrowsableAttribute.cs
- DBConcurrencyException.cs
- Graph.cs
- ScopelessEnumAttribute.cs
- Converter.cs
- OciEnlistContext.cs
- AQNBuilder.cs
- MetadataArtifactLoaderFile.cs
- MetadataReference.cs
- safelinkcollection.cs
- XmlWellformedWriter.cs
- StructuredTypeInfo.cs
- SystemIPInterfaceProperties.cs
- ClientScriptManagerWrapper.cs
- ConfigurationSectionGroup.cs
- DbConnectionClosed.cs
- AuthenticationManager.cs
- DataRelationPropertyDescriptor.cs
- DataGridClipboardHelper.cs
- DetailsViewInsertEventArgs.cs
- TemplateColumn.cs
- WorkflowServiceBehavior.cs
- CodeNamespaceImportCollection.cs
- dbenumerator.cs
- StickyNote.cs
- UnmanagedMemoryStream.cs
- DetailsViewPageEventArgs.cs
- SqlClientFactory.cs
- securitycriticaldataformultiplegetandset.cs
- CompilerInfo.cs
- SoapFault.cs
- AnchorEditor.cs
- BrowserCapabilitiesCodeGenerator.cs
- AuthenticationSection.cs
- UpdateManifestForBrowserApplication.cs
- OrderedDictionaryStateHelper.cs
- WindowsFormsHelpers.cs
- CacheEntry.cs
- StatusBarAutomationPeer.cs
- RowToParametersTransformer.cs
- XamlFigureLengthSerializer.cs
- AstTree.cs
- BasicDesignerLoader.cs
- DiscreteKeyFrames.cs
- CodeNamespaceImport.cs
- SafeReadContext.cs
- ProfileInfo.cs
- SynchronousChannelMergeEnumerator.cs
- AnalyzedTree.cs
- SoapTypeAttribute.cs
- EventLevel.cs
- IsolatedStorageException.cs
- HMACMD5.cs
- LinkButton.cs
- DynamicQueryableWrapper.cs
- MenuCommands.cs
- EmptyEnumerable.cs
- SafeArchiveContext.cs
- TopClause.cs
- OracleException.cs
- FileSystemWatcher.cs
- XmlSchemaAny.cs
- RSAProtectedConfigurationProvider.cs
- DesignTimeVisibleAttribute.cs
- OperationAbortedException.cs
- OracleMonthSpan.cs
- Codec.cs
- StylusOverProperty.cs
- ScrollContentPresenter.cs
- DataServiceQueryOfT.cs
- Component.cs
- SqlServer2KCompatibilityAnnotation.cs
- WorkflowViewStateService.cs
- RadioButton.cs
- DataFormats.cs
- SafePointer.cs
- MailAddress.cs
- RuleSetReference.cs
- IdlingCommunicationPool.cs