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
- RowToParametersTransformer.cs
- securitymgrsite.cs
- BitmapEffectInput.cs
- PeerCollaboration.cs
- StateRuntime.cs
- DiagnosticTraceSource.cs
- KeyInstance.cs
- WebPartHeaderCloseVerb.cs
- XPathNavigator.cs
- SafeSystemMetrics.cs
- SiteMapHierarchicalDataSourceView.cs
- DataBinding.cs
- ColorIndependentAnimationStorage.cs
- WebPartZone.cs
- BrushValueSerializer.cs
- ContainsSearchOperator.cs
- ActivityExecutorOperation.cs
- LocalizableAttribute.cs
- PrintController.cs
- DesignerHost.cs
- ControlBuilderAttribute.cs
- ChannelManagerBase.cs
- SchemaMapping.cs
- EventHandlerService.cs
- XmlSecureResolver.cs
- TableChangeProcessor.cs
- GroupBox.cs
- LocatorBase.cs
- FixedTextBuilder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- CopyAction.cs
- TextControlDesigner.cs
- ScrollPatternIdentifiers.cs
- Application.cs
- RenamedEventArgs.cs
- COAUTHIDENTITY.cs
- MembershipSection.cs
- DelegateBodyWriter.cs
- XmlTypeAttribute.cs
- ContentValidator.cs
- ProcessInfo.cs
- LineServicesCallbacks.cs
- EntityConnection.cs
- ToolStripStatusLabel.cs
- SessionState.cs
- validationstate.cs
- QuinticEase.cs
- ChildrenQuery.cs
- ProviderMetadataCachedInformation.cs
- EdmComplexPropertyAttribute.cs
- MachineKeyValidationConverter.cs
- SqlMethods.cs
- DataGridViewLinkColumn.cs
- EndPoint.cs
- DbConnectionPool.cs
- LowerCaseStringConverter.cs
- HybridObjectCache.cs
- SiteMapNodeItem.cs
- BufferModesCollection.cs
- SystemWebCachingSectionGroup.cs
- XamlReader.cs
- MetabaseServerConfig.cs
- DbSource.cs
- BinaryNode.cs
- UnsafeNativeMethods.cs
- DoubleStorage.cs
- EncoderNLS.cs
- ToolStripDropDownButton.cs
- PropertyGeneratedEventArgs.cs
- HeaderedItemsControl.cs
- HotCommands.cs
- GlyphCache.cs
- CustomLineCap.cs
- SiteMapDataSource.cs
- DataGridViewImageColumn.cs
- Screen.cs
- XPathDescendantIterator.cs
- FieldInfo.cs
- HtmlElement.cs
- DoubleAnimationClockResource.cs
- GridViewRowPresenter.cs
- BinaryUtilClasses.cs
- FrameworkElementFactory.cs
- X509ThumbprintKeyIdentifierClause.cs
- LoadRetryHandler.cs
- HtmlInputSubmit.cs
- ImpersonateTokenRef.cs
- InterleavedZipPartStream.cs
- DBSqlParserColumnCollection.cs
- OleStrCAMarshaler.cs
- SerializationFieldInfo.cs
- RecordManager.cs
- UIElement3D.cs
- SoapExtensionImporter.cs
- RelationshipType.cs
- MediaScriptCommandRoutedEventArgs.cs
- HMACRIPEMD160.cs
- HttpListenerPrefixCollection.cs
- DesignTableCollection.cs
- ArrayTypeMismatchException.cs