Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DuplicateMessageDetector.cs
- ComPlusTypeValidator.cs
- BrowserCapabilitiesCompiler.cs
- Console.cs
- EntityDataSourceSelectingEventArgs.cs
- OleDbParameter.cs
- DataSvcMapFile.cs
- SrgsElementFactoryCompiler.cs
- CurrencyWrapper.cs
- Int32AnimationUsingKeyFrames.cs
- BidOverLoads.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PersonalizationStateInfo.cs
- NGCSerializationManager.cs
- TypeConverter.cs
- EnumerableRowCollectionExtensions.cs
- NamedPipeChannelListener.cs
- SafeRightsManagementPubHandle.cs
- XmlSchemaComplexType.cs
- PropertyGridEditorPart.cs
- User.cs
- DataSourceProvider.cs
- AutoResetEvent.cs
- ZoneLinkButton.cs
- ListBindableAttribute.cs
- WindowsFormsHost.cs
- IntSecurity.cs
- FlowDocumentPage.cs
- UnsafeNativeMethods.cs
- SoapCodeExporter.cs
- PropagationProtocolsTracing.cs
- TimerEventSubscriptionCollection.cs
- WebCategoryAttribute.cs
- IsolatedStorageFileStream.cs
- Trace.cs
- DragDropHelper.cs
- Vector3dCollection.cs
- _StreamFramer.cs
- RtfToken.cs
- TemplateKeyConverter.cs
- FormViewInsertEventArgs.cs
- BackgroundWorker.cs
- SqlBinder.cs
- MailWebEventProvider.cs
- FileDialog.cs
- SettingsProperty.cs
- ElementProxy.cs
- DataConnectionHelper.cs
- XmlWrappingReader.cs
- MSAAEventDispatcher.cs
- ConditionalDesigner.cs
- TextParagraphCache.cs
- UInt32Converter.cs
- TextElementCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- __FastResourceComparer.cs
- SafeFileMappingHandle.cs
- HostTimeoutsElement.cs
- DataObject.cs
- HwndTarget.cs
- ConsoleKeyInfo.cs
- SmiSettersStream.cs
- RectangleHotSpot.cs
- Calendar.cs
- XpsFontSubsetter.cs
- StringPropertyBuilder.cs
- CompilerError.cs
- ScrollEvent.cs
- ReflectionPermission.cs
- WorkflowNamespace.cs
- MergablePropertyAttribute.cs
- x509store.cs
- RegexWorker.cs
- SimpleTypesSurrogate.cs
- ObjectDataSourceStatusEventArgs.cs
- String.cs
- GcHandle.cs
- StylusButton.cs
- SqlProcedureAttribute.cs
- UserControlCodeDomTreeGenerator.cs
- PrinterUnitConvert.cs
- Subset.cs
- SecurityUtils.cs
- SpinLock.cs
- FileSecurity.cs
- DataGridCaption.cs
- DataServiceException.cs
- PropertyDescriptor.cs
- EventPrivateKey.cs
- ImageClickEventArgs.cs
- BigInt.cs
- FormatVersion.cs
- ProfileManager.cs
- PeerNodeTraceRecord.cs
- Button.cs
- DetailsViewActionList.cs
- FileVersion.cs
- assemblycache.cs
- KnownBoxes.cs
- XsltArgumentList.cs