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
- WebServiceBindingAttribute.cs
- SetStoryboardSpeedRatio.cs
- ZipFileInfo.cs
- SqlDataSourceQueryEditor.cs
- SerializerDescriptor.cs
- GlyphCache.cs
- SQLDecimal.cs
- ObjectListItem.cs
- OdbcTransaction.cs
- ListView.cs
- Win32Native.cs
- Conditional.cs
- RangeBaseAutomationPeer.cs
- HttpContext.cs
- QueryRewriter.cs
- CompositionTarget.cs
- XpsS0ValidatingLoader.cs
- XmlDigitalSignatureProcessor.cs
- autovalidator.cs
- HttpFileCollection.cs
- ProcessStartInfo.cs
- HttpRequestCacheValidator.cs
- TabControl.cs
- URLString.cs
- ControlUtil.cs
- PropertyDescriptor.cs
- FormViewInsertEventArgs.cs
- RepeatBehaviorConverter.cs
- DrawListViewItemEventArgs.cs
- ExtensionDataObject.cs
- InfocardInteractiveChannelInitializer.cs
- DefinitionBase.cs
- ICspAsymmetricAlgorithm.cs
- BrowserCapabilitiesCompiler.cs
- XmlAnyElementAttribute.cs
- XpsS0ValidatingLoader.cs
- FloatUtil.cs
- Hash.cs
- ResourcePart.cs
- DeferredElementTreeState.cs
- _FixedSizeReader.cs
- NavigationService.cs
- HideDisabledControlAdapter.cs
- RequestTimeoutManager.cs
- ToolStripPanelDesigner.cs
- filewebrequest.cs
- UnsafeNativeMethods.cs
- SvcMapFileLoader.cs
- HttpAsyncResult.cs
- httpstaticobjectscollection.cs
- LZCodec.cs
- SmtpFailedRecipientsException.cs
- XmlReaderSettings.cs
- EntityCommandExecutionException.cs
- ProvidersHelper.cs
- TabItem.cs
- SessionEndingEventArgs.cs
- SwitchAttribute.cs
- DeferredReference.cs
- RelationshipDetailsCollection.cs
- ShaderRenderModeValidation.cs
- SerialStream.cs
- FlowNode.cs
- CollectionViewGroupRoot.cs
- CompoundFileStorageReference.cs
- SiteMap.cs
- CacheDependency.cs
- BasicBrowserDialog.cs
- XmlElement.cs
- AssemblyCollection.cs
- XmlArrayItemAttributes.cs
- ActivityCodeGenerator.cs
- XNameTypeConverter.cs
- ReferentialConstraintRoleElement.cs
- selecteditemcollection.cs
- ClientRuntimeConfig.cs
- Effect.cs
- XhtmlConformanceSection.cs
- SkinBuilder.cs
- EventMemberCodeDomSerializer.cs
- PhoneCall.cs
- HttpHeaderCollection.cs
- NextPreviousPagerField.cs
- CompilationUtil.cs
- AssemblyCollection.cs
- XMLSyntaxException.cs
- Funcletizer.cs
- HtmlTableCellCollection.cs
- Identifier.cs
- WaitHandle.cs
- BaseDataListComponentEditor.cs
- URIFormatException.cs
- EventsTab.cs
- WindowsButton.cs
- ConfigXmlCDataSection.cs
- SrgsRulesCollection.cs
- Funcletizer.cs
- safemediahandle.cs
- DisplayNameAttribute.cs
- ActiveXHost.cs