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
- ObjectDataSource.cs
- StrokeCollection2.cs
- AutomationAttributeInfo.cs
- HighlightVisual.cs
- Size.cs
- WsiProfilesElement.cs
- AtomMaterializerLog.cs
- ColorConvertedBitmap.cs
- ErrorFormatter.cs
- HtmlProps.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SpinWait.cs
- SettingsProviderCollection.cs
- Comparer.cs
- HasActivatableWorkflowEvent.cs
- ObjectSet.cs
- FixedTextContainer.cs
- OracleBinary.cs
- EntityAdapter.cs
- HtmlButton.cs
- EntityDataSource.cs
- WebBrowserPermission.cs
- ADMembershipUser.cs
- OracleDataAdapter.cs
- SignatureHelper.cs
- SchemaReference.cs
- Column.cs
- XmlWriter.cs
- EntityDesignPluralizationHandler.cs
- RoleManagerEventArgs.cs
- SystemWebSectionGroup.cs
- DataObjectMethodAttribute.cs
- DynamicPropertyReader.cs
- ParameterInfo.cs
- PropertyGridEditorPart.cs
- QueryIntervalOp.cs
- DefaultValueTypeConverter.cs
- TableCellAutomationPeer.cs
- ColorMap.cs
- ValueUtilsSmi.cs
- XsltContext.cs
- CDSCollectionETWBCLProvider.cs
- CommandLibraryHelper.cs
- CompilationSection.cs
- GroupBoxDesigner.cs
- PageThemeCodeDomTreeGenerator.cs
- EntitySqlQueryState.cs
- TextBoxAutoCompleteSourceConverter.cs
- KerberosSecurityTokenAuthenticator.cs
- ProcessStartInfo.cs
- OutgoingWebRequestContext.cs
- DataGridViewTextBoxCell.cs
- Application.cs
- CompilationUnit.cs
- TransformCryptoHandle.cs
- DataBinding.cs
- PartitionedDataSource.cs
- RegexCompiler.cs
- CacheAxisQuery.cs
- DateTimeOffsetStorage.cs
- XmlMessageFormatter.cs
- DataGridViewCellFormattingEventArgs.cs
- ElementUtil.cs
- TransformerConfigurationWizardBase.cs
- ObjectListFieldCollection.cs
- Pkcs7Recipient.cs
- ProtectedProviderSettings.cs
- cache.cs
- BrowserDefinitionCollection.cs
- CompositeCollectionView.cs
- RectangleHotSpot.cs
- TextElementEnumerator.cs
- TextRange.cs
- SelectionHighlightInfo.cs
- SvcMapFileLoader.cs
- ValidationErrorCollection.cs
- QilNode.cs
- OracleRowUpdatingEventArgs.cs
- DataGridViewColumn.cs
- MarkedHighlightComponent.cs
- MetadataLocation.cs
- DiagnosticTrace.cs
- Hashtable.cs
- TraversalRequest.cs
- HostingEnvironmentException.cs
- Int32Collection.cs
- __ComObject.cs
- CommandEventArgs.cs
- GridViewColumn.cs
- cookieexception.cs
- Mutex.cs
- DocumentGridPage.cs
- XmlEventCache.cs
- PageBreakRecord.cs
- SqlNotificationEventArgs.cs
- ArrangedElement.cs
- TreeNodeEventArgs.cs
- ClientSideQueueItem.cs
- Encoding.cs
- NumberFormatInfo.cs