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
- AssociationType.cs
- PropertyValueUIItem.cs
- ControlType.cs
- XmlSchemaExporter.cs
- GridView.cs
- SortQuery.cs
- CompatibleIComparer.cs
- DefaultEventAttribute.cs
- PathTooLongException.cs
- CursorInteropHelper.cs
- RoleServiceManager.cs
- XmlHierarchicalDataSourceView.cs
- ScriptServiceAttribute.cs
- DeploymentSection.cs
- AdornedElementPlaceholder.cs
- SafeProcessHandle.cs
- MouseActionValueSerializer.cs
- Pkcs7Recipient.cs
- AnnotationComponentManager.cs
- SqlDuplicator.cs
- DependencyPropertyHelper.cs
- FileReader.cs
- InstanceDataCollectionCollection.cs
- PaperSize.cs
- CreateWorkflowOwnerCommand.cs
- MethodExpression.cs
- MailHeaderInfo.cs
- ISAPIRuntime.cs
- IdentityReference.cs
- NativeMethodsOther.cs
- WebPart.cs
- ChannelServices.cs
- Atom10FormatterFactory.cs
- UriParserTemplates.cs
- MediaPlayerState.cs
- EditingCoordinator.cs
- AgileSafeNativeMemoryHandle.cs
- CompressionTransform.cs
- CompModSwitches.cs
- ScriptingSectionGroup.cs
- SerializableAuthorizationContext.cs
- AutomationFocusChangedEventArgs.cs
- DocumentStatusResources.cs
- ColorPalette.cs
- LinqExpressionNormalizer.cs
- StatusBarPanelClickEvent.cs
- DataTableCollection.cs
- HttpCacheVaryByContentEncodings.cs
- CommandDevice.cs
- ExpressionPrefixAttribute.cs
- SecureConversationSecurityTokenParameters.cs
- ActivityTypeResolver.xaml.cs
- ThemeableAttribute.cs
- Propagator.JoinPropagator.cs
- Transform.cs
- MatchingStyle.cs
- TypeReference.cs
- ExpressionBuilder.cs
- SafeFindHandle.cs
- XsdBuilder.cs
- ZipIOFileItemStream.cs
- FormsAuthenticationUserCollection.cs
- WinFormsSpinner.cs
- ParameterModifier.cs
- OnOperation.cs
- WebServiceParameterData.cs
- IssuanceLicense.cs
- HitTestWithGeometryDrawingContextWalker.cs
- CriticalFileToken.cs
- SecurityTokenTypes.cs
- HttpAsyncResult.cs
- BinaryObjectWriter.cs
- ListViewCancelEventArgs.cs
- PageThemeBuildProvider.cs
- CancellationState.cs
- QueryContinueDragEventArgs.cs
- XmlNullResolver.cs
- StoreContentChangedEventArgs.cs
- MediaElement.cs
- AbsoluteQuery.cs
- ContentTextAutomationPeer.cs
- StatusBarPanel.cs
- CustomCredentialPolicy.cs
- FormsAuthentication.cs
- KeyBinding.cs
- ToolStripGrip.cs
- TableCell.cs
- ProtocolsConfigurationHandler.cs
- TableLayoutPanelCodeDomSerializer.cs
- IndexedString.cs
- InputProviderSite.cs
- SqlCacheDependency.cs
- Composition.cs
- AudioException.cs
- BindingNavigator.cs
- TypeDelegator.cs
- PkcsMisc.cs
- ControlIdConverter.cs
- HostSecurityManager.cs
- FolderBrowserDialog.cs