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
- SetterBase.cs
- CounterSampleCalculator.cs
- Brush.cs
- Int16.cs
- CngAlgorithm.cs
- TypedTableBase.cs
- Debugger.cs
- Clause.cs
- ComEventsInfo.cs
- FigureParagraph.cs
- TextBounds.cs
- BamlBinaryReader.cs
- assemblycache.cs
- RectangleF.cs
- PermissionListSet.cs
- Track.cs
- DataGridDetailsPresenterAutomationPeer.cs
- WorkflowTransactionService.cs
- PathFigureCollectionConverter.cs
- Avt.cs
- DataGridViewUtilities.cs
- ContentPresenter.cs
- ReadOnlyObservableCollection.cs
- dtdvalidator.cs
- __Error.cs
- ClearCollection.cs
- Matrix3D.cs
- Grid.cs
- CngUIPolicy.cs
- SecondaryIndexDefinition.cs
- ControlBindingsCollection.cs
- MatrixAnimationUsingPath.cs
- RegexBoyerMoore.cs
- HtmlInputText.cs
- WebRequest.cs
- InheritanceAttribute.cs
- PerfCounterSection.cs
- Model3DGroup.cs
- TreeNodeCollectionEditor.cs
- ExpressionLexer.cs
- invalidudtexception.cs
- NameValueConfigurationCollection.cs
- ToolStripRendererSwitcher.cs
- CopyNamespacesAction.cs
- LiteralText.cs
- DesignerPerfEventProvider.cs
- EmptyEnumerable.cs
- DWriteFactory.cs
- ManagedIStream.cs
- AssemblyResourceLoader.cs
- IncrementalHitTester.cs
- MarkupCompilePass1.cs
- BitmapInitialize.cs
- Header.cs
- PeerTransportListenAddressValidatorAttribute.cs
- SerializerDescriptor.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- FastPropertyAccessor.cs
- CalendarData.cs
- BatchServiceHost.cs
- XpsSerializerWriter.cs
- WindowsSolidBrush.cs
- DbResourceAllocator.cs
- ScriptReference.cs
- Assembly.cs
- ParameterCollectionEditor.cs
- SystemInfo.cs
- Screen.cs
- ListBoxItemAutomationPeer.cs
- DataGridViewCellPaintingEventArgs.cs
- CellTreeNode.cs
- RelationshipEndCollection.cs
- DocumentReference.cs
- SourceFileInfo.cs
- SelectionManager.cs
- GifBitmapEncoder.cs
- CurrentChangingEventArgs.cs
- ApplicationInfo.cs
- UIElement.cs
- TabControlEvent.cs
- PeerCustomResolverBindingElement.cs
- UserCancellationException.cs
- ExceptionTrace.cs
- XmlDataSourceNodeDescriptor.cs
- UrlMappingsModule.cs
- ComboBox.cs
- AcceleratedTokenProviderState.cs
- XmlSchemaGroupRef.cs
- DocumentCollection.cs
- GlobalizationAssembly.cs
- XmlCharType.cs
- RoutedEvent.cs
- ListItemParagraph.cs
- CommandHelpers.cs
- HttpListenerRequest.cs
- JsonSerializer.cs
- SectionUpdates.cs
- RegexBoyerMoore.cs
- IndependentAnimationStorage.cs