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
- DBDataPermission.cs
- AnnotationAuthorChangedEventArgs.cs
- QueryPageSettingsEventArgs.cs
- HandleCollector.cs
- InitializingNewItemEventArgs.cs
- SchemaDeclBase.cs
- __ComObject.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- XmlUtil.cs
- DownloadProgressEventArgs.cs
- ListDictionary.cs
- FunctionNode.cs
- ParameterElementCollection.cs
- AnnotationObservableCollection.cs
- Selection.cs
- Resources.Designer.cs
- ComAdminWrapper.cs
- COM2PropertyPageUITypeConverter.cs
- CodeArgumentReferenceExpression.cs
- DbMetaDataColumnNames.cs
- Hash.cs
- SoapAttributeOverrides.cs
- Options.cs
- BrowserDefinitionCollection.cs
- ErrorWrapper.cs
- ImportOptions.cs
- ProcessInfo.cs
- PersianCalendar.cs
- DataTemplateSelector.cs
- PreservationFileReader.cs
- OrderablePartitioner.cs
- CodeTypeMember.cs
- EdmItemError.cs
- MetadataCache.cs
- StreamedFramingRequestChannel.cs
- ModelFactory.cs
- IPPacketInformation.cs
- TraceSection.cs
- DataGridCaption.cs
- XXXOnTypeBuilderInstantiation.cs
- DataObjectAttribute.cs
- RandomNumberGenerator.cs
- AppSettingsSection.cs
- KeyedHashAlgorithm.cs
- TextElementEnumerator.cs
- EntityExpressionVisitor.cs
- XmlException.cs
- WebPartDisplayModeCollection.cs
- VirtualPathProvider.cs
- ReferenceConverter.cs
- HostedElements.cs
- AffineTransform3D.cs
- XmlnsCache.cs
- COM2PropertyPageUITypeConverter.cs
- IDispatchConstantAttribute.cs
- PropertyInfoSet.cs
- RuntimeWrappedException.cs
- RequestCache.cs
- Encoding.cs
- ProjectionCamera.cs
- DependencyPropertyHelper.cs
- FragmentNavigationEventArgs.cs
- ScrollData.cs
- TreeIterator.cs
- ConfigXmlSignificantWhitespace.cs
- DataGridViewRowsRemovedEventArgs.cs
- Itemizer.cs
- DbMetaDataCollectionNames.cs
- StrokeNodeOperations.cs
- SqlWebEventProvider.cs
- PageContentCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- NamedElement.cs
- ExtensionDataReader.cs
- ClientScriptManagerWrapper.cs
- AssociationSet.cs
- DSGeneratorProblem.cs
- XmlLangPropertyAttribute.cs
- ScrollBarAutomationPeer.cs
- EncoderBestFitFallback.cs
- AssemblyCacheEntry.cs
- DataColumnPropertyDescriptor.cs
- WebPartEditorCancelVerb.cs
- DbProviderFactories.cs
- GraphicsContainer.cs
- CharUnicodeInfo.cs
- HMACSHA256.cs
- SendActivityDesigner.cs
- CompModSwitches.cs
- Root.cs
- VisualTreeUtils.cs
- DefaultEvaluationContext.cs
- SchemaInfo.cs
- Win32SafeHandles.cs
- PerfService.cs
- DynamicQueryableWrapper.cs
- ConfigurationSchemaErrors.cs
- X509ChainElement.cs
- IssuanceLicense.cs
- Encoder.cs