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
- TreeNodeStyleCollection.cs
- DeviceContext.cs
- TreeViewTemplateSelector.cs
- WindowsListViewItemStartMenu.cs
- FixedSOMContainer.cs
- DataRowView.cs
- PrimitiveSchema.cs
- XmlStringTable.cs
- login.cs
- NullableDecimalSumAggregationOperator.cs
- PasswordRecoveryAutoFormat.cs
- SiteMapHierarchicalDataSourceView.cs
- _NegoStream.cs
- PrePrepareMethodAttribute.cs
- AtomServiceDocumentSerializer.cs
- BulletDecorator.cs
- EdmPropertyAttribute.cs
- ProfileParameter.cs
- FigureParagraph.cs
- HtmlControlPersistable.cs
- ConfigXmlWhitespace.cs
- CacheAxisQuery.cs
- Graphics.cs
- XmlWriterTraceListener.cs
- HandlerBase.cs
- ScrollProviderWrapper.cs
- SynchronizationContextHelper.cs
- SubtreeProcessor.cs
- ResourceReferenceExpressionConverter.cs
- HttpApplicationStateWrapper.cs
- DispatcherExceptionEventArgs.cs
- TypedElement.cs
- DomainConstraint.cs
- assertwrapper.cs
- XamlClipboardData.cs
- ValidatingReaderNodeData.cs
- DataGridViewSelectedColumnCollection.cs
- TextServicesManager.cs
- LoaderAllocator.cs
- BitmapFrameEncode.cs
- FixUpCollection.cs
- ItemsControl.cs
- ping.cs
- TableRowCollection.cs
- CommonDialog.cs
- WebPartHelpVerb.cs
- ScrollableControl.cs
- Exceptions.cs
- HttpRequestCacheValidator.cs
- SectionRecord.cs
- CharAnimationUsingKeyFrames.cs
- followingquery.cs
- ProviderUtil.cs
- DocumentSchemaValidator.cs
- SimpleHandlerBuildProvider.cs
- KeyValueSerializer.cs
- ToolboxControl.cs
- SpoolingTaskBase.cs
- TypeDescriptorContext.cs
- Guid.cs
- TerminatorSinks.cs
- DbParameterCollectionHelper.cs
- NonDualMessageSecurityOverHttp.cs
- ToolStripItemEventArgs.cs
- RunClient.cs
- ChannelPool.cs
- SkinBuilder.cs
- SqlIdentifier.cs
- ObjectItemLoadingSessionData.cs
- Light.cs
- StreamReader.cs
- ObjectSet.cs
- Sql8ConformanceChecker.cs
- ObjectFullSpanRewriter.cs
- Label.cs
- ItemCollection.cs
- AuthorizationBehavior.cs
- ThemeDictionaryExtension.cs
- CodeSubDirectoriesCollection.cs
- FileDialogPermission.cs
- ValueConversionAttribute.cs
- DocComment.cs
- SHA256.cs
- Adorner.cs
- WindowsSolidBrush.cs
- Message.cs
- MessagePartDescriptionCollection.cs
- NonceToken.cs
- Point.cs
- WindowsGraphics2.cs
- BuildProviderUtils.cs
- PathGeometry.cs
- NativeMethods.cs
- SettingsPropertyValueCollection.cs
- CriticalExceptions.cs
- DelegatingMessage.cs
- CurrentChangedEventManager.cs
- ExpandCollapseProviderWrapper.cs
- EntityProviderServices.cs
- RoutedUICommand.cs