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
- DrawingContext.cs
- RawStylusInput.cs
- JumpTask.cs
- XmlIlVisitor.cs
- oledbconnectionstring.cs
- Debugger.cs
- PageContent.cs
- NotifyCollectionChangedEventArgs.cs
- MailWriter.cs
- WindowsRichEditRange.cs
- CollectionViewGroupRoot.cs
- SynchronizationLockException.cs
- ObjectTokenCategory.cs
- TextParaLineResult.cs
- ControlBindingsCollection.cs
- StandardBindingCollectionElement.cs
- ConditionValidator.cs
- BrowserDefinitionCollection.cs
- BmpBitmapDecoder.cs
- RecognizedAudio.cs
- ClientCultureInfo.cs
- ResourceReferenceExpressionConverter.cs
- VideoDrawing.cs
- ConnectorSelectionGlyph.cs
- DesignerMetadata.cs
- VersionValidator.cs
- SimpleHandlerFactory.cs
- WebServiceData.cs
- FlowDocumentReaderAutomationPeer.cs
- ProfileModule.cs
- ContentPresenter.cs
- ParseElementCollection.cs
- EventWaitHandleSecurity.cs
- RadioButtonList.cs
- SeekableReadStream.cs
- ToolStripControlHost.cs
- SubMenuStyleCollection.cs
- OdbcStatementHandle.cs
- TextSelectionProcessor.cs
- _ConnectionGroup.cs
- DataGridViewHeaderCell.cs
- BitmapEffectDrawingContextState.cs
- SourceElementsCollection.cs
- DbProviderManifest.cs
- BufferModeSettings.cs
- DataGridCell.cs
- DataGridCaption.cs
- ArrangedElement.cs
- ExtendedPropertyDescriptor.cs
- XPathExpr.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WebMessageFormatHelper.cs
- WorkflowViewService.cs
- ForceCopyBuildProvider.cs
- UseAttributeSetsAction.cs
- UnwrappedTypesXmlSerializerManager.cs
- ApplicationException.cs
- WebBaseEventKeyComparer.cs
- QueryOperationResponseOfT.cs
- TrueReadOnlyCollection.cs
- BuilderInfo.cs
- QuaternionAnimationBase.cs
- XmlWriter.cs
- PropertyGridView.cs
- XmlSerializerNamespaces.cs
- Command.cs
- SqlFlattener.cs
- ToolStripPanelRenderEventArgs.cs
- XmlBinaryReaderSession.cs
- DetailsViewUpdatedEventArgs.cs
- InstanceContextManager.cs
- SystemIPv6InterfaceProperties.cs
- ActiveDocumentEvent.cs
- PermissionRequestEvidence.cs
- BordersPage.cs
- WsdlBuildProvider.cs
- ParentControlDesigner.cs
- ClientConvert.cs
- XPathNode.cs
- IpcPort.cs
- DocobjHost.cs
- LayoutTableCell.cs
- TextFindEngine.cs
- KeyValuePairs.cs
- SystemResourceKey.cs
- ExtendedProperty.cs
- SystemUnicastIPAddressInformation.cs
- DataGridViewImageColumn.cs
- WindowPattern.cs
- TextServicesLoader.cs
- FileIOPermission.cs
- ValueTypeFixupInfo.cs
- XamlSerializationHelper.cs
- ThousandthOfEmRealPoints.cs
- VisualStyleRenderer.cs
- BoundPropertyEntry.cs
- WeakReferenceEnumerator.cs
- DragDrop.cs
- autovalidator.cs
- RequestResizeEvent.cs