Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DataGridViewRowsAddedEventArgs.cs
- TemplateAction.cs
- BuildProvider.cs
- Int16Storage.cs
- ObjectDataSourceChooseMethodsPanel.cs
- PartialCachingControl.cs
- ExceptionCollection.cs
- ProfileBuildProvider.cs
- DesignerValidationSummaryAdapter.cs
- SqlDuplicator.cs
- FormViewUpdateEventArgs.cs
- AssociationSetMetadata.cs
- PnrpPeerResolverElement.cs
- GradientBrush.cs
- ZipIOExtraFieldElement.cs
- ECDiffieHellman.cs
- EditorAttribute.cs
- TraceContext.cs
- HostingPreferredMapPath.cs
- KnownAssembliesSet.cs
- EndEvent.cs
- HttpRequestCacheValidator.cs
- LogicalExpr.cs
- ButtonBase.cs
- CacheSection.cs
- IndentedWriter.cs
- CircleHotSpot.cs
- RemoteCryptoSignHashRequest.cs
- EventPrivateKey.cs
- RequestCachePolicy.cs
- BinarySerializer.cs
- ListBoxItem.cs
- DrawingGroupDrawingContext.cs
- Listbox.cs
- SchemaDeclBase.cs
- DataGridToolTip.cs
- MarkupProperty.cs
- ModelChangedEventArgsImpl.cs
- SqlDataSourceCache.cs
- DetailsViewPageEventArgs.cs
- InputReferenceExpression.cs
- ContextActivityUtils.cs
- InertiaTranslationBehavior.cs
- ZipPackagePart.cs
- MetricEntry.cs
- EmptyEnumerable.cs
- AbstractDataSvcMapFileLoader.cs
- UTF32Encoding.cs
- DataObjectSettingDataEventArgs.cs
- ITextView.cs
- RawStylusSystemGestureInputReport.cs
- FlowDocumentView.cs
- SqlDataSourceTableQuery.cs
- ResourcePermissionBase.cs
- ReadOnlyPropertyMetadata.cs
- PeerTransportBindingElement.cs
- ScalarType.cs
- ReliableSessionBindingElement.cs
- MetadataProperty.cs
- XmlWriterSettings.cs
- TableRow.cs
- AdapterSwitches.cs
- SQLInt32Storage.cs
- FillRuleValidation.cs
- ElementProxy.cs
- ServiceObjectContainer.cs
- PropertyChangingEventArgs.cs
- BufferedWebEventProvider.cs
- FocusChangedEventArgs.cs
- HttpListenerResponse.cs
- HostUtils.cs
- ParameterCollection.cs
- StrokeCollectionConverter.cs
- PageParserFilter.cs
- ObjRef.cs
- OLEDB_Util.cs
- SatelliteContractVersionAttribute.cs
- DbExpressionVisitor.cs
- TakeOrSkipQueryOperator.cs
- HorizontalAlignConverter.cs
- PlatformCulture.cs
- ImageMetadata.cs
- ControlPager.cs
- IxmlLineInfo.cs
- Peer.cs
- ObjectNavigationPropertyMapping.cs
- XmlSchemaProviderAttribute.cs
- InfoCardBaseException.cs
- StoryFragments.cs
- InvalidContentTypeException.cs
- Process.cs
- ClrProviderManifest.cs
- HyperLinkStyle.cs
- DataPagerCommandEventArgs.cs
- loginstatus.cs
- connectionpool.cs
- HandleCollector.cs
- StringFreezingAttribute.cs
- PersonalizationStateInfo.cs
- ViewManager.cs