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
- BrowserDefinitionCollection.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RegexNode.cs
- ButtonPopupAdapter.cs
- CornerRadius.cs
- MasterPage.cs
- DependencyPropertyHelper.cs
- GraphicsPathIterator.cs
- BamlResourceContent.cs
- X509Utils.cs
- SerializationInfo.cs
- RayHitTestParameters.cs
- ButtonStandardAdapter.cs
- NullableDoubleAverageAggregationOperator.cs
- ScaleTransform3D.cs
- DataGridColumnHeaderAutomationPeer.cs
- CodeTypeMemberCollection.cs
- WebBrowserSiteBase.cs
- StateChangeEvent.cs
- ArrayWithOffset.cs
- DocumentEventArgs.cs
- DbConnectionPoolGroupProviderInfo.cs
- QualifierSet.cs
- DesignParameter.cs
- WizardStepBase.cs
- MetadataArtifactLoader.cs
- TrackingCondition.cs
- HostSecurityManager.cs
- PageVisual.cs
- SqlDataSourceStatusEventArgs.cs
- TextBox.cs
- HostingEnvironment.cs
- ExpressionBuilderCollection.cs
- ConfigurationPropertyAttribute.cs
- PreservationFileReader.cs
- StoreContentChangedEventArgs.cs
- AbandonedMutexException.cs
- SingleStorage.cs
- TraceListeners.cs
- CalendarAutoFormatDialog.cs
- keycontainerpermission.cs
- RoleServiceManager.cs
- RuntimeResourceSet.cs
- FirewallWrapper.cs
- TreeNodeCollection.cs
- ResourceDisplayNameAttribute.cs
- SettingsAttributes.cs
- KeyValuePair.cs
- AuthenticationSection.cs
- LogicalMethodInfo.cs
- ThreadExceptionDialog.cs
- ParameterBuilder.cs
- GregorianCalendarHelper.cs
- SaveFileDialog.cs
- TemplateBindingExpression.cs
- HelpHtmlBuilder.cs
- SettingsBase.cs
- QueueProcessor.cs
- Intellisense.cs
- Pool.cs
- SplitterPanel.cs
- OutputWindow.cs
- XmlAutoDetectWriter.cs
- WebReferencesBuildProvider.cs
- TransactionInformation.cs
- SRef.cs
- TypeExtension.cs
- Point3DKeyFrameCollection.cs
- AdRotator.cs
- translator.cs
- DataGridViewRowStateChangedEventArgs.cs
- SafeHandles.cs
- SafeRegistryKey.cs
- SemanticTag.cs
- GeneralTransform3DGroup.cs
- __FastResourceComparer.cs
- Int16.cs
- SqlProviderUtilities.cs
- ElementHostPropertyMap.cs
- BadImageFormatException.cs
- FixedDocumentSequencePaginator.cs
- Point4DConverter.cs
- Int64Animation.cs
- TextServicesHost.cs
- ColorAnimationUsingKeyFrames.cs
- BypassElementCollection.cs
- MessageBox.cs
- FaultConverter.cs
- TypeLoadException.cs
- XmlQueryRuntime.cs
- ScriptControlManager.cs
- StreamUpgradeInitiator.cs
- TextBoxRenderer.cs
- XPathMultyIterator.cs
- ClipboardData.cs
- SettingsContext.cs
- RightNameExpirationInfoPair.cs
- CollectionChangeEventArgs.cs
- EmissiveMaterial.cs
- ComponentChangedEvent.cs