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
- AnimationLayer.cs
- SetterTriggerConditionValueConverter.cs
- PersonalizablePropertyEntry.cs
- XmlNamespaceMapping.cs
- ExtenderControl.cs
- FileDialogCustomPlace.cs
- HasCopySemanticsAttribute.cs
- PropertyRecord.cs
- XmlSerializableWriter.cs
- AtomServiceDocumentSerializer.cs
- EncoderNLS.cs
- XmlSerializationWriter.cs
- ParserOptions.cs
- WindowCollection.cs
- MethodRental.cs
- InputDevice.cs
- ComponentSerializationService.cs
- PnrpPeerResolverElement.cs
- ExtentKey.cs
- IFlowDocumentViewer.cs
- RenderOptions.cs
- ByteStreamMessageEncoderFactory.cs
- _NestedSingleAsyncResult.cs
- TemplateBindingExtension.cs
- IdnMapping.cs
- StringAttributeCollection.cs
- TypeProvider.cs
- OdbcConnectionString.cs
- UrlAuthFailedErrorFormatter.cs
- XmlNodeComparer.cs
- SqlDataSourceQueryEditor.cs
- HandleCollector.cs
- OverrideMode.cs
- ArrayElementGridEntry.cs
- XamlTreeBuilder.cs
- DocumentApplicationJournalEntry.cs
- DecimalConverter.cs
- TextRange.cs
- SurrogateSelector.cs
- XpsColorContext.cs
- ExceptionUtil.cs
- MarshalDirectiveException.cs
- ToolStripRenderer.cs
- BooleanAnimationBase.cs
- XmlSchemaAppInfo.cs
- DataList.cs
- FlagPanel.cs
- BitmapEffect.cs
- DataGridViewRowHeaderCell.cs
- CultureMapper.cs
- PartialArray.cs
- ManipulationLogic.cs
- ContextConfiguration.cs
- RelatedPropertyManager.cs
- StorageConditionPropertyMapping.cs
- ConnectivityStatus.cs
- XsdDuration.cs
- OracleInfoMessageEventArgs.cs
- DefaultHttpHandler.cs
- ClientTargetSection.cs
- TextSpanModifier.cs
- ControlPager.cs
- SynchronizationValidator.cs
- WindowInteropHelper.cs
- XmlCharCheckingReader.cs
- OperandQuery.cs
- ObjectPersistData.cs
- TextServicesCompartment.cs
- LinqDataSourceDisposeEventArgs.cs
- Internal.cs
- DoubleStorage.cs
- PropertyDescriptor.cs
- EventMetadata.cs
- SQLBoolean.cs
- TemplateBamlRecordReader.cs
- SoapFaultCodes.cs
- TimeSpanFormat.cs
- CloudCollection.cs
- InstanceStore.cs
- EntityStoreSchemaGenerator.cs
- FixedLineResult.cs
- DriveInfo.cs
- NullRuntimeConfig.cs
- ListBox.cs
- PropertyCondition.cs
- MembershipUser.cs
- PenContexts.cs
- Selection.cs
- EntityViewGenerationAttribute.cs
- TypedColumnHandler.cs
- ToolStripDropDownClosedEventArgs.cs
- SystemIPGlobalProperties.cs
- IOException.cs
- RichTextBox.cs
- WebBrowserNavigatingEventHandler.cs
- Roles.cs
- ProfilePropertyNameValidator.cs
- MouseEvent.cs
- RoleManagerModule.cs
- PrintDialogException.cs