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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptingWebServicesSectionGroup.cs
- FileLoadException.cs
- LinqDataSourceDisposeEventArgs.cs
- KnownBoxes.cs
- mansign.cs
- FixedStringLookup.cs
- DataGridComponentEditor.cs
- MenuEventArgs.cs
- StickyNote.cs
- ExtensibleClassFactory.cs
- KeyedCollection.cs
- AnnotationResourceCollection.cs
- DefaultValueTypeConverter.cs
- GrammarBuilder.cs
- SettingsPropertyValue.cs
- StartFileNameEditor.cs
- WorkflowDesigner.cs
- Resources.Designer.cs
- DrawingBrush.cs
- ControlIdConverter.cs
- FastEncoder.cs
- SizeF.cs
- XamlInterfaces.cs
- PreservationFileWriter.cs
- AutomationPropertyInfo.cs
- UTF8Encoding.cs
- BlurBitmapEffect.cs
- CheckableControlBaseAdapter.cs
- FileRecordSequenceCompletedAsyncResult.cs
- QilGenerator.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- CacheOutputQuery.cs
- ReadOnlyPropertyMetadata.cs
- Function.cs
- SQLString.cs
- LinkClickEvent.cs
- RegularExpressionValidator.cs
- DbDataRecord.cs
- DbParameterCollection.cs
- ConfigXmlText.cs
- DisposableCollectionWrapper.cs
- ThreadAttributes.cs
- EncryptedPackage.cs
- MergeFailedEvent.cs
- TreeIterator.cs
- RegisteredExpandoAttribute.cs
- ObjectViewFactory.cs
- ListViewGroup.cs
- CompressedStack.cs
- CoreChannel.cs
- TagPrefixCollection.cs
- CursorConverter.cs
- Site.cs
- ServiceHostFactory.cs
- CollectionEditor.cs
- SelectionWordBreaker.cs
- FixedPageAutomationPeer.cs
- BinaryUtilClasses.cs
- Normalization.cs
- XmlEnumAttribute.cs
- ReferenceEqualityComparer.cs
- _FixedSizeReader.cs
- VirtualDirectoryMappingCollection.cs
- RemotingAttributes.cs
- BmpBitmapEncoder.cs
- HotSpot.cs
- HttpProfileBase.cs
- Set.cs
- DataSourceCollectionBase.cs
- HyperLinkField.cs
- ConfigurationLoaderException.cs
- NullRuntimeConfig.cs
- SqlDataSourceSelectingEventArgs.cs
- EventTrigger.cs
- MachineKeySection.cs
- ComplexPropertyEntry.cs
- DataMisalignedException.cs
- DeploymentSectionCache.cs
- RegexGroup.cs
- HashUtility.cs
- Attribute.cs
- ComplexBindingPropertiesAttribute.cs
- ValidationHelper.cs
- EnterpriseServicesHelper.cs
- loginstatus.cs
- DataGridSortCommandEventArgs.cs
- HttpRuntimeSection.cs
- XmlSchemaInfo.cs
- ItemCheckedEvent.cs
- FeatureSupport.cs
- HttpResponse.cs
- FileNotFoundException.cs
- MetaColumn.cs
- CombinedGeometry.cs
- _AutoWebProxyScriptWrapper.cs
- EmbeddedMailObjectsCollection.cs
- Matrix.cs
- SerializationSectionGroup.cs
- ControlParameter.cs
- ModelFunctionTypeElement.cs