Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DataSourceHelper.cs
- EventItfInfo.cs
- SingleAnimationBase.cs
- StyleCollectionEditor.cs
- SmuggledIUnknown.cs
- ActivityDefaults.cs
- CompareInfo.cs
- MasterPageBuildProvider.cs
- RelationshipDetailsRow.cs
- CompensatableTransactionScopeActivity.cs
- WebMessageEncodingBindingElement.cs
- SqlAliaser.cs
- GridViewSelectEventArgs.cs
- IgnoreDeviceFilterElementCollection.cs
- ResolveCompletedEventArgs.cs
- NativeActivity.cs
- Label.cs
- GuidelineCollection.cs
- TableDetailsRow.cs
- CompositeKey.cs
- PerfCounters.cs
- CapabilitiesSection.cs
- ListBoxItem.cs
- XmlObjectSerializerReadContextComplex.cs
- QueryCacheManager.cs
- ConnectionPoolManager.cs
- Dump.cs
- StringBlob.cs
- XPathArrayIterator.cs
- Ipv6Element.cs
- XmlSchemaValidator.cs
- BuildTopDownAttribute.cs
- TypeNameHelper.cs
- XPathBinder.cs
- DataGridViewBand.cs
- HostExecutionContextManager.cs
- TextCompositionManager.cs
- SqlResolver.cs
- AnnotationAdorner.cs
- TypeNameParser.cs
- BidOverLoads.cs
- LeaseManager.cs
- XPathAxisIterator.cs
- ListControlConvertEventArgs.cs
- ThreadExceptionDialog.cs
- TextParagraph.cs
- FontWeightConverter.cs
- PathNode.cs
- SystemUnicastIPAddressInformation.cs
- WmiEventSink.cs
- TypeForwardedToAttribute.cs
- ControlParameter.cs
- WhitespaceRuleLookup.cs
- CacheOutputQuery.cs
- LookupNode.cs
- Unit.cs
- CallSiteHelpers.cs
- ZipPackage.cs
- EndPoint.cs
- ObjectDataSourceView.cs
- JournalEntryListConverter.cs
- TreeChangeInfo.cs
- ExpressionWriter.cs
- SelectionWordBreaker.cs
- SelectionEditingBehavior.cs
- MultiDataTrigger.cs
- EntityDataSourceStatementEditor.cs
- Parameter.cs
- XmlSerializationWriter.cs
- SemaphoreSecurity.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- BamlReader.cs
- LoginName.cs
- BigIntegerStorage.cs
- Rect3DConverter.cs
- DataGridViewRowConverter.cs
- ConfigXmlElement.cs
- ExtensionFile.cs
- HasActivatableWorkflowEvent.cs
- Oci.cs
- Cloud.cs
- COM2ExtendedBrowsingHandler.cs
- GreaterThanOrEqual.cs
- WmiEventSink.cs
- FontSource.cs
- PerformanceCounterPermissionEntryCollection.cs
- SchemaTypeEmitter.cs
- IndexOutOfRangeException.cs
- DSACryptoServiceProvider.cs
- MessageDecoder.cs
- MouseBinding.cs
- ProcessHostMapPath.cs
- PermissionAttributes.cs
- Accessible.cs
- DynamicControl.cs
- DelegatedStream.cs
- XmlSchemaObject.cs
- XPathMultyIterator.cs
- UnsafeNativeMethods.cs
- GPPOINTF.cs