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
- VisualBrush.cs
- PersonalizationProvider.cs
- XhtmlBasicValidationSummaryAdapter.cs
- DiscoveryVersionConverter.cs
- SqlNode.cs
- UpdateTracker.cs
- DataStorage.cs
- UnsafeNativeMethods.cs
- XmlComplianceUtil.cs
- SignerInfo.cs
- SqlBooleanizer.cs
- XmlQueryType.cs
- XslCompiledTransform.cs
- WebPartTransformer.cs
- _TransmitFileOverlappedAsyncResult.cs
- EditorResources.cs
- X509Certificate.cs
- RoutedPropertyChangedEventArgs.cs
- Drawing.cs
- SpotLight.cs
- EllipseGeometry.cs
- JsonEncodingStreamWrapper.cs
- ExpandSegment.cs
- QilGenerator.cs
- PublisherMembershipCondition.cs
- ExpressionBuilder.cs
- TypeConverterMarkupExtension.cs
- CapabilitiesUse.cs
- XmlQueryContext.cs
- ClientConfigPaths.cs
- DBBindings.cs
- RC2.cs
- EditorZone.cs
- FastEncoderWindow.cs
- CategoryGridEntry.cs
- EntityDataSourceDataSelection.cs
- ChtmlPhoneCallAdapter.cs
- UnwrappedTypesXmlSerializerManager.cs
- dsa.cs
- ObjectDataSourceEventArgs.cs
- ActivityExecutionFilter.cs
- HostDesigntimeLicenseContext.cs
- DataTableExtensions.cs
- XmlChildNodes.cs
- SqlProvider.cs
- Utils.cs
- DataControlFieldHeaderCell.cs
- IndexedString.cs
- NTAccount.cs
- MetadataArtifactLoaderResource.cs
- ImageMapEventArgs.cs
- NetworkAddressChange.cs
- RTLAwareMessageBox.cs
- UriTemplateTrieLocation.cs
- SQLDoubleStorage.cs
- SafeLocalMemHandle.cs
- AssemblyCollection.cs
- XamlSerializerUtil.cs
- CssStyleCollection.cs
- MouseButton.cs
- EntitySqlQueryState.cs
- InstanceDescriptor.cs
- ProfessionalColorTable.cs
- FileDialog.cs
- WebPartConnectionsCancelVerb.cs
- MemberDomainMap.cs
- AttachInfo.cs
- DesignerMetadata.cs
- NetCodeGroup.cs
- DelimitedListTraceListener.cs
- AutomationElementIdentifiers.cs
- Attributes.cs
- XPathDocument.cs
- Camera.cs
- AssemblyResourceLoader.cs
- DateTimeOffsetConverter.cs
- FormClosedEvent.cs
- Form.cs
- coordinator.cs
- PrintController.cs
- EventProviderWriter.cs
- Label.cs
- ListChunk.cs
- StatusBarPanelClickEvent.cs
- ArrayTypeMismatchException.cs
- ProfileGroupSettings.cs
- LocalizedNameDescriptionPair.cs
- MailMessageEventArgs.cs
- MethodCallTranslator.cs
- MulticastNotSupportedException.cs
- HttpValueCollection.cs
- AlphabeticalEnumConverter.cs
- BamlBinaryReader.cs
- Ipv6Element.cs
- HyperlinkAutomationPeer.cs
- IgnoreSectionHandler.cs
- CheckedPointers.cs
- FrameworkElementFactory.cs
- DocumentOrderComparer.cs
- Options.cs