Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / EntityException.cs / 1 / EntityException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; ////// Provider exception - Used by the entity client. /// /// [Serializable] public class EntityException : DataException { ////// Constructor with default message /// public EntityException() // required ctor : base(System.Data.Entity.Strings.EntityClient_ProviderGeneralError) { } ////// Constructor that accepts a pre-formatted message /// /// localized error message public EntityException(string message) : base(message) { } ////// Constructor that accepts a pre-formatted message and an inner exception /// /// localized error message /// inner exception public EntityException(string message, Exception innerException) : base(message, innerException) { } ////// Constructor for deserialization /// /// /// protected EntityException(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; ////// Provider exception - Used by the entity client. /// /// [Serializable] public class EntityException : DataException { ////// Constructor with default message /// public EntityException() // required ctor : base(System.Data.Entity.Strings.EntityClient_ProviderGeneralError) { } ////// Constructor that accepts a pre-formatted message /// /// localized error message public EntityException(string message) : base(message) { } ////// Constructor that accepts a pre-formatted message and an inner exception /// /// localized error message /// inner exception public EntityException(string message, Exception innerException) : base(message, innerException) { } ////// Constructor for deserialization /// /// /// protected EntityException(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
- DataGridViewSelectedCellCollection.cs
- PointAnimationBase.cs
- Stylus.cs
- IsolatedStorageFile.cs
- MetadataSource.cs
- Rect3DConverter.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- ControlSerializer.cs
- BufferedReadStream.cs
- GuidelineCollection.cs
- SqlClientWrapperSmiStream.cs
- TextRenderer.cs
- BuildProvider.cs
- ComponentResourceManager.cs
- TransformerConfigurationWizardBase.cs
- SqlServer2KCompatibilityCheck.cs
- Control.cs
- NavigationProperty.cs
- WindowsEditBoxRange.cs
- BlockUIContainer.cs
- Timer.cs
- RealizedColumnsBlock.cs
- InputLanguageProfileNotifySink.cs
- InvokeHandlers.cs
- Win32PrintDialog.cs
- Application.cs
- Funcletizer.cs
- CategoryAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- StandardMenuStripVerb.cs
- XmlElementList.cs
- BamlRecordReader.cs
- ConfigXmlDocument.cs
- JpegBitmapEncoder.cs
- DynamicPhysicalDiscoSearcher.cs
- SHA384.cs
- MouseButtonEventArgs.cs
- BuildProviderAppliesToAttribute.cs
- base64Transforms.cs
- DbConnectionHelper.cs
- ConfigurationSectionGroup.cs
- TabControlCancelEvent.cs
- ChildTable.cs
- PolyQuadraticBezierSegment.cs
- JsonClassDataContract.cs
- LineMetrics.cs
- SqlBulkCopyColumnMapping.cs
- FlowDocumentPaginator.cs
- VirtualizingPanel.cs
- SoapMessage.cs
- IIS7WorkerRequest.cs
- WebCategoryAttribute.cs
- SystemIPv4InterfaceProperties.cs
- RequestCacheValidator.cs
- WebPartCollection.cs
- SQLMoneyStorage.cs
- SimpleTypeResolver.cs
- DebugHandleTracker.cs
- BitmapEffect.cs
- ModuleBuilder.cs
- ImpersonationContext.cs
- ResourcesGenerator.cs
- TouchDevice.cs
- XmlDataCollection.cs
- TraceRecord.cs
- SchemaImporterExtension.cs
- IntAverageAggregationOperator.cs
- CommandID.cs
- CustomCredentialPolicy.cs
- OpCellTreeNode.cs
- ScriptingRoleServiceSection.cs
- Size3D.cs
- PermissionAttributes.cs
- ToolStripPanelCell.cs
- WebZoneDesigner.cs
- ProcessInfo.cs
- ObjectConverter.cs
- DiscoveryExceptionDictionary.cs
- EntityDataSourceContainerNameConverter.cs
- Soap12FormatExtensions.cs
- MouseActionConverter.cs
- QueryAccessibilityHelpEvent.cs
- AnimatedTypeHelpers.cs
- IteratorAsyncResult.cs
- baseaxisquery.cs
- DataGridViewColumnEventArgs.cs
- RestHandler.cs
- unsafenativemethodstextservices.cs
- RowUpdatedEventArgs.cs
- VersionedStreamOwner.cs
- PropertyGridView.cs
- Light.cs
- ListBoxDesigner.cs
- StorageAssociationSetMapping.cs
- XmlCodeExporter.cs
- MaterialGroup.cs
- sqlpipe.cs
- ThemeDirectoryCompiler.cs
- HashHelper.cs
- XPathNodeHelper.cs