Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / EntityException.cs / 1 / EntityException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] [....] //--------------------------------------------------------------------- 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 [....] [....] //--------------------------------------------------------------------- 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
- PeerApplication.cs
- ConditionalExpression.cs
- HtmlEmptyTagControlBuilder.cs
- Interlocked.cs
- BuildProviderAppliesToAttribute.cs
- WorkflowPersistenceContext.cs
- TransactionScope.cs
- FillRuleValidation.cs
- StylusDevice.cs
- CodeDOMUtility.cs
- DynamicVirtualDiscoSearcher.cs
- ObservableCollection.cs
- ToolStripLocationCancelEventArgs.cs
- ImageKeyConverter.cs
- SmiEventSink.cs
- RootAction.cs
- HelpHtmlBuilder.cs
- XmlSchemaExternal.cs
- SmiMetaData.cs
- WebPartCatalogAddVerb.cs
- AuthStoreRoleProvider.cs
- WebPartConnectionsEventArgs.cs
- CorrelationHandle.cs
- XmlElementList.cs
- ActivitiesCollection.cs
- DbBuffer.cs
- ConnectionPointCookie.cs
- ScriptResourceInfo.cs
- SafeFindHandle.cs
- HttpServerProtocol.cs
- FrameworkContentElementAutomationPeer.cs
- ControlPaint.cs
- coordinator.cs
- Stroke.cs
- TabItemAutomationPeer.cs
- UriParserTemplates.cs
- GridViewCellAutomationPeer.cs
- UseLicense.cs
- PageSettings.cs
- DivideByZeroException.cs
- InputMethodStateChangeEventArgs.cs
- VectorAnimationBase.cs
- MarginCollapsingState.cs
- FolderLevelBuildProviderCollection.cs
- EntityDataSource.cs
- UserPreferenceChangedEventArgs.cs
- TextFormatterImp.cs
- BoolExpressionVisitors.cs
- PointLightBase.cs
- StorageMappingFragment.cs
- FullTextBreakpoint.cs
- TimeoutException.cs
- BindingGraph.cs
- Policy.cs
- RectAnimationUsingKeyFrames.cs
- RemotingAttributes.cs
- StateMachineWorkflowInstance.cs
- EventLog.cs
- _CookieModule.cs
- RuleSettings.cs
- EmbeddedObject.cs
- SqlUdtInfo.cs
- COAUTHIDENTITY.cs
- XmlParserContext.cs
- HashAlgorithm.cs
- StringExpressionSet.cs
- SqlConnectionFactory.cs
- HashCodeCombiner.cs
- CodeGen.cs
- HttpWriter.cs
- SerializationObjectManager.cs
- UserNamePasswordValidator.cs
- XslTransformFileEditor.cs
- _SslSessionsCache.cs
- RegexBoyerMoore.cs
- TokenBasedSetEnumerator.cs
- ProjectionQueryOptionExpression.cs
- SynchronizationContext.cs
- UTF8Encoding.cs
- ResXResourceWriter.cs
- ExpressionConverter.cs
- DbDataRecord.cs
- DesignColumn.cs
- TypeResolver.cs
- CollectionChangedEventManager.cs
- SignatureResourcePool.cs
- MenuItemBindingCollection.cs
- WebPartPersonalization.cs
- __FastResourceComparer.cs
- ToolConsole.cs
- linebase.cs
- CodeCommentStatement.cs
- DefaultHttpHandler.cs
- httpapplicationstate.cs
- KeyedHashAlgorithm.cs
- XmlDownloadManager.cs
- XmlWrappingReader.cs
- SiteIdentityPermission.cs
- GridViewSortEventArgs.cs
- SqlMethodCallConverter.cs