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
- LicenseProviderAttribute.cs
- WebConfigurationHost.cs
- AnnotationService.cs
- Switch.cs
- SapiAttributeParser.cs
- XPathNode.cs
- TerminateDesigner.cs
- BufferAllocator.cs
- XsdBuildProvider.cs
- ChannelManager.cs
- IgnoreSectionHandler.cs
- ConnectionStringSettings.cs
- InternalBufferManager.cs
- ProgressBarAutomationPeer.cs
- HttpCachePolicyElement.cs
- DefaultPropertyAttribute.cs
- OdbcConnectionHandle.cs
- LineServices.cs
- MemoryRecordBuffer.cs
- ContainerUIElement3D.cs
- ProcessHost.cs
- BinaryObjectWriter.cs
- CollectionDataContractAttribute.cs
- ControlValuePropertyAttribute.cs
- GraphicsState.cs
- HashCodeCombiner.cs
- ItemMap.cs
- EntityTypeBase.cs
- RTLAwareMessageBox.cs
- FastPropertyAccessor.cs
- XmlSchemaChoice.cs
- LayoutTableCell.cs
- ListBindableAttribute.cs
- SchemaEntity.cs
- UpdateTracker.cs
- SamlConditions.cs
- WebPartConnectionsDisconnectVerb.cs
- SourceElementsCollection.cs
- AnonymousIdentificationModule.cs
- NonVisualControlAttribute.cs
- control.ime.cs
- WebHttpElement.cs
- SourceElementsCollection.cs
- SystemInfo.cs
- GeneratedCodeAttribute.cs
- CallbackValidator.cs
- SqlDataSourceFilteringEventArgs.cs
- HtmlWindowCollection.cs
- MultipartIdentifier.cs
- BuildResultCache.cs
- DecimalConstantAttribute.cs
- NavigationService.cs
- SamlSecurityTokenAuthenticator.cs
- AsyncParams.cs
- DbgUtil.cs
- ZipIOCentralDirectoryFileHeader.cs
- DynamicField.cs
- XamlTypeMapper.cs
- SchemaAttDef.cs
- ProcessManager.cs
- ServicePointManager.cs
- DecimalAnimationBase.cs
- ListItemCollection.cs
- ProfileInfo.cs
- Font.cs
- StaticExtension.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- BlockUIContainer.cs
- AncestorChangedEventArgs.cs
- CacheRequest.cs
- PrintEvent.cs
- CopyOnWriteList.cs
- RadialGradientBrush.cs
- DesignRelation.cs
- WindowsAuthenticationEventArgs.cs
- SrgsOneOf.cs
- Point3DValueSerializer.cs
- BinaryObjectReader.cs
- DispatcherProcessingDisabled.cs
- JobDuplex.cs
- MenuItemStyleCollection.cs
- SqlMethodAttribute.cs
- PointAnimationClockResource.cs
- EventListener.cs
- TableLayoutRowStyleCollection.cs
- VariableAction.cs
- SimpleHandlerFactory.cs
- Color.cs
- RadioButtonRenderer.cs
- ConvertEvent.cs
- MouseWheelEventArgs.cs
- DbMetaDataCollectionNames.cs
- EntityConnection.cs
- EncoderNLS.cs
- Rijndael.cs
- Condition.cs
- ButtonChrome.cs
- WebPartAuthorizationEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- ApplicationManager.cs