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
- PropertyPathConverter.cs
- FormattedText.cs
- ValueQuery.cs
- ReleaseInstanceMode.cs
- PixelShader.cs
- PresentationAppDomainManager.cs
- ToolStripArrowRenderEventArgs.cs
- QilChoice.cs
- XmlSchemaInclude.cs
- TrustManagerPromptUI.cs
- RelatedPropertyManager.cs
- WebAdminConfigurationHelper.cs
- SiteMapHierarchicalDataSourceView.cs
- SplitterCancelEvent.cs
- XmlException.cs
- DataContractSerializer.cs
- WebPartMenu.cs
- UnsafeNativeMethods.cs
- CommandEventArgs.cs
- StatusStrip.cs
- BroadcastEventHelper.cs
- BuildProvider.cs
- EventArgs.cs
- XXXOnTypeBuilderInstantiation.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SelectionHighlightInfo.cs
- ImmutablePropertyDescriptorGridEntry.cs
- TableItemProviderWrapper.cs
- SessionPageStatePersister.cs
- BoundField.cs
- SHA1Cng.cs
- DeliveryRequirementsAttribute.cs
- _HTTPDateParse.cs
- BamlBinaryWriter.cs
- HttpRuntimeSection.cs
- PartitionResolver.cs
- Serializer.cs
- DynamicMethod.cs
- COM2Properties.cs
- DbFunctionCommandTree.cs
- OutputCacheProfile.cs
- XmlCollation.cs
- QueryExtender.cs
- ShapingEngine.cs
- Part.cs
- SynchronizingStream.cs
- DoubleLinkListEnumerator.cs
- RoleManagerSection.cs
- ExpressionDumper.cs
- CodeGen.cs
- AttributeAction.cs
- ToolboxItemLoader.cs
- WindowsAltTab.cs
- PassportPrincipal.cs
- WeakReferenceEnumerator.cs
- SqlGatherProducedAliases.cs
- TypeUtil.cs
- VersionedStreamOwner.cs
- ImpersonateTokenRef.cs
- IteratorDescriptor.cs
- AxDesigner.cs
- TextLine.cs
- ExtendedProtectionPolicy.cs
- XmlSchemaAttributeGroup.cs
- WebServiceReceiveDesigner.cs
- ClientScriptItemCollection.cs
- ValidationRule.cs
- XmlIterators.cs
- RegexWorker.cs
- Rectangle.cs
- NameScope.cs
- LinqDataSourceHelper.cs
- BindStream.cs
- FileDialogCustomPlaces.cs
- SinglePageViewer.cs
- ErrorLog.cs
- Deflater.cs
- EditorBrowsableAttribute.cs
- FileSystemInfo.cs
- WindowsAltTab.cs
- Encoding.cs
- ProtocolElement.cs
- FormViewUpdateEventArgs.cs
- CodeRemoveEventStatement.cs
- TypeSource.cs
- StateDesigner.Layouts.cs
- GridViewCancelEditEventArgs.cs
- NameTable.cs
- ValidatedControlConverter.cs
- Matrix.cs
- SessionParameter.cs
- Int64AnimationBase.cs
- _UriTypeConverter.cs
- SiteMapProvider.cs
- BindStream.cs
- DesignerCategoryAttribute.cs
- OptimizedTemplateContent.cs
- Point4D.cs
- SystemGatewayIPAddressInformation.cs
- StickyNote.cs