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
- CacheManager.cs
- DocumentOrderQuery.cs
- ReadContentAsBinaryHelper.cs
- ProtectedConfigurationSection.cs
- TreeNodeCollection.cs
- EtwTrace.cs
- GridViewColumnCollection.cs
- DecoderFallback.cs
- Function.cs
- QueryCacheEntry.cs
- ViewCellSlot.cs
- DataGridViewCellStyleConverter.cs
- NegationPusher.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- SectionUpdates.cs
- UserControlParser.cs
- ModelTreeManager.cs
- _Events.cs
- MissingMethodException.cs
- PageTheme.cs
- AttributeCollection.cs
- HttpServerVarsCollection.cs
- ColorContextHelper.cs
- HtmlSelect.cs
- ResourceDictionary.cs
- HtmlProps.cs
- HtmlInputText.cs
- FixUp.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ServiceHttpModule.cs
- WebPartConnectionsCancelVerb.cs
- TableItemPattern.cs
- DataTableNameHandler.cs
- XamlToRtfWriter.cs
- RepeaterDataBoundAdapter.cs
- Section.cs
- Byte.cs
- BindingNavigator.cs
- AssemblyUtil.cs
- ReferencedAssemblyResolver.cs
- InternalsVisibleToAttribute.cs
- UpdatePanelTrigger.cs
- Cursor.cs
- ToolStripPanelCell.cs
- FloaterBaseParagraph.cs
- XPathConvert.cs
- Vector3DAnimation.cs
- CodeTypeParameterCollection.cs
- HttpListenerRequest.cs
- Utils.cs
- HtmlToClrEventProxy.cs
- JournalEntry.cs
- MouseActionConverter.cs
- TextEditorTables.cs
- BufferModeSettings.cs
- PlanCompiler.cs
- CompilerCollection.cs
- NumberSubstitution.cs
- DoubleStorage.cs
- CounterCreationDataCollection.cs
- SettingsPropertyValue.cs
- ReferenceCountedObject.cs
- COM2ExtendedTypeConverter.cs
- XMLUtil.cs
- SortDescriptionCollection.cs
- DocumentEventArgs.cs
- ToolBarButtonClickEvent.cs
- XmlQueryTypeFactory.cs
- AutomationAttributeInfo.cs
- NumericPagerField.cs
- ModifierKeysConverter.cs
- MaskDesignerDialog.cs
- OleDbParameter.cs
- IisTraceWebEventProvider.cs
- RequestCacheManager.cs
- DataGridViewRowConverter.cs
- TableCellAutomationPeer.cs
- UniqueIdentifierService.cs
- DBDataPermissionAttribute.cs
- IndexerNameAttribute.cs
- MembershipValidatePasswordEventArgs.cs
- MimeParameter.cs
- DataGridState.cs
- ScriptRegistrationManager.cs
- Misc.cs
- AdjustableArrowCap.cs
- MasterPageParser.cs
- CallbackException.cs
- SerializationHelper.cs
- CompiledIdentityConstraint.cs
- VectorCollectionConverter.cs
- WebPartTransformer.cs
- LocationChangedEventArgs.cs
- Label.cs
- ProgressBarRenderer.cs
- Point3DAnimationUsingKeyFrames.cs
- OciLobLocator.cs
- IBuiltInEvidence.cs
- SendMailErrorEventArgs.cs
- DictionaryBase.cs