Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityException.cs / 1305376 / EntityException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- WebPartMovingEventArgs.cs
- SevenBitStream.cs
- Converter.cs
- SortedList.cs
- MdImport.cs
- ActivityScheduledRecord.cs
- TransformCollection.cs
- RenderDataDrawingContext.cs
- SoapException.cs
- ExpressionLink.cs
- FormsAuthenticationUserCollection.cs
- ReferenceEqualityComparer.cs
- JobStaple.cs
- ComponentResourceKeyConverter.cs
- ReferentialConstraint.cs
- FullTextLine.cs
- XPathQueryGenerator.cs
- CompressEmulationStream.cs
- GiveFeedbackEvent.cs
- OutKeywords.cs
- PresentationTraceSources.cs
- SystemUdpStatistics.cs
- Serializer.cs
- DataRowComparer.cs
- BooleanKeyFrameCollection.cs
- FocusManager.cs
- Win32NamedPipes.cs
- unsafenativemethodstextservices.cs
- ToggleButton.cs
- ColumnBinding.cs
- SelectionService.cs
- SapiGrammar.cs
- BaseCAMarshaler.cs
- ellipse.cs
- HostedTransportConfigurationManager.cs
- ProxyRpc.cs
- XpsInterleavingPolicy.cs
- loginstatus.cs
- CommonDialog.cs
- XmlToDatasetMap.cs
- ParsedAttributeCollection.cs
- HttpChannelHelper.cs
- BookmarkCallbackWrapper.cs
- CanonicalXml.cs
- MouseEventArgs.cs
- HwndSourceKeyboardInputSite.cs
- DocumentReference.cs
- PermissionSet.cs
- CurrentChangingEventArgs.cs
- BamlCollectionHolder.cs
- JsonReader.cs
- DesignerDataParameter.cs
- HostedBindingBehavior.cs
- ToolStripDropDownClosingEventArgs.cs
- ToolstripProfessionalRenderer.cs
- CodeSubDirectory.cs
- PrintDialogException.cs
- BrowserCapabilitiesFactoryBase.cs
- MonthChangedEventArgs.cs
- EntitySetBaseCollection.cs
- PerformanceCountersElement.cs
- IncrementalReadDecoders.cs
- CapabilitiesPattern.cs
- DbReferenceCollection.cs
- ViewService.cs
- AssemblyBuilderData.cs
- regiisutil.cs
- HttpGetServerProtocol.cs
- EventWaitHandleSecurity.cs
- XmlChoiceIdentifierAttribute.cs
- CheckoutException.cs
- Decimal.cs
- GenericWebPart.cs
- ItemContainerProviderWrapper.cs
- GroupBoxAutomationPeer.cs
- CustomWebEventKey.cs
- ViewService.cs
- VectorKeyFrameCollection.cs
- ClientBuildManager.cs
- TextLineBreak.cs
- ToggleButton.cs
- GridItem.cs
- XmlCountingReader.cs
- EntityClassGenerator.cs
- ConsumerConnectionPoint.cs
- ObjectAssociationEndMapping.cs
- PriorityBinding.cs
- DeflateStream.cs
- MetafileHeader.cs
- TextRunCacheImp.cs
- HtmlInputSubmit.cs
- BitVec.cs
- StretchValidation.cs
- DbConnectionClosed.cs
- ExpressionBinding.cs
- ArgumentNullException.cs
- HashRepartitionStream.cs
- DataGridViewComboBoxEditingControl.cs
- BitmapCacheBrush.cs
- TypeBrowserDialog.cs