Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- IPHostEntry.cs
- _CookieModule.cs
- XslTransform.cs
- DefinitionUpdate.cs
- StringInfo.cs
- _TLSstream.cs
- SelectionPatternIdentifiers.cs
- OdbcStatementHandle.cs
- D3DImage.cs
- PeerOutputChannel.cs
- ModelTreeEnumerator.cs
- AuthorizationRuleCollection.cs
- SurrogateSelector.cs
- WebPartTransformerAttribute.cs
- ActivityExecutionContext.cs
- MessageBox.cs
- TagMapInfo.cs
- DependentList.cs
- PageCache.cs
- AbsoluteQuery.cs
- Transactions.cs
- StyleCollection.cs
- TokenBasedSet.cs
- GlyphsSerializer.cs
- FilterElement.cs
- FixedStringLookup.cs
- BaseInfoTable.cs
- TargetException.cs
- PropertyKey.cs
- COM2PropertyDescriptor.cs
- DataShape.cs
- WorkflowMarkupSerializerMapping.cs
- RijndaelManagedTransform.cs
- PeerObject.cs
- DataGridPagingPage.cs
- cookiecollection.cs
- EdmFunctionAttribute.cs
- DoubleAnimationBase.cs
- SqlUDTStorage.cs
- MetadataSerializer.cs
- DataTable.cs
- CommandManager.cs
- AttachmentService.cs
- cryptoapiTransform.cs
- log.cs
- UriSection.cs
- GeneralTransformCollection.cs
- StylusButton.cs
- WaitHandleCannotBeOpenedException.cs
- _UncName.cs
- TextElementEnumerator.cs
- XmlNamespaceManager.cs
- WorkflowServiceAttributesTypeConverter.cs
- RuleSettingsCollection.cs
- InstancePersistence.cs
- TraceFilter.cs
- ProfileGroupSettings.cs
- CodeArrayIndexerExpression.cs
- XamlVector3DCollectionSerializer.cs
- UnknownBitmapEncoder.cs
- QilExpression.cs
- DecimalKeyFrameCollection.cs
- SoapInteropTypes.cs
- XmlElementAttributes.cs
- FixedTextBuilder.cs
- PropertyGridCommands.cs
- DbSetClause.cs
- ButtonRenderer.cs
- DoubleLink.cs
- DbConnectionFactory.cs
- FormsIdentity.cs
- XPathSelectionIterator.cs
- DSASignatureFormatter.cs
- OrderedHashRepartitionEnumerator.cs
- SystemColors.cs
- InteropAutomationProvider.cs
- GridViewPageEventArgs.cs
- ClaimTypes.cs
- TemplatePagerField.cs
- HyperLinkStyle.cs
- PolicyChain.cs
- AssemblyAttributesGoHere.cs
- EvidenceTypeDescriptor.cs
- WebPartCatalogAddVerb.cs
- SchemaElementLookUpTable.cs
- BitmapVisualManager.cs
- SecurityHeaderTokenResolver.cs
- SetterBase.cs
- ReverseComparer.cs
- HttpResponseInternalWrapper.cs
- InfoCardBaseException.cs
- StringConverter.cs
- TextTreeNode.cs
- selecteditemcollection.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- Dictionary.cs
- MobileUITypeEditor.cs
- StreamGeometry.cs
- GeometryDrawing.cs
- EventLogPropertySelector.cs