Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- NumberFunctions.cs
- IgnorePropertiesAttribute.cs
- EvidenceBase.cs
- RuntimeHelpers.cs
- ResourceType.cs
- StackSpiller.Temps.cs
- QilTypeChecker.cs
- DataKey.cs
- SchemaTypeEmitter.cs
- RadioButtonAutomationPeer.cs
- CompatibleComparer.cs
- OuterGlowBitmapEffect.cs
- HttpListenerPrefixCollection.cs
- CodeArgumentReferenceExpression.cs
- SharedMemory.cs
- Row.cs
- MailWebEventProvider.cs
- FixedElement.cs
- WebPartsPersonalization.cs
- CodeVariableReferenceExpression.cs
- DbMetaDataFactory.cs
- OdbcConnectionOpen.cs
- TemplateXamlParser.cs
- WhitespaceSignificantCollectionAttribute.cs
- EventHandlingScope.cs
- DocumentViewerHelper.cs
- BitmapFrameEncode.cs
- ReadOnlyAttribute.cs
- CodeDomConfigurationHandler.cs
- XamlGridLengthSerializer.cs
- DataSourceSerializationException.cs
- AstNode.cs
- HtmlShimManager.cs
- ECDiffieHellman.cs
- ChangeInterceptorAttribute.cs
- ConditionalAttribute.cs
- WebPartConnection.cs
- RoleGroupCollection.cs
- Package.cs
- ManagementOperationWatcher.cs
- Stylesheet.cs
- ElementAtQueryOperator.cs
- HtmlControl.cs
- CoTaskMemHandle.cs
- BitmapEffectrendercontext.cs
- CharKeyFrameCollection.cs
- BadImageFormatException.cs
- WebPermission.cs
- PageFunction.cs
- ProtectedProviderSettings.cs
- JsonEnumDataContract.cs
- TextRangeProviderWrapper.cs
- PhysicalAddress.cs
- EnumValAlphaComparer.cs
- AnimatedTypeHelpers.cs
- _DomainName.cs
- CompatibleIComparer.cs
- ColumnHeaderConverter.cs
- ScriptControl.cs
- ListenerAdapterBase.cs
- XamlSerializerUtil.cs
- SubMenuStyleCollection.cs
- MultiBindingExpression.cs
- DecimalAnimationBase.cs
- XmlIlGenerator.cs
- UdpDiscoveryEndpointProvider.cs
- ChildTable.cs
- AspProxy.cs
- DataGridViewSelectedRowCollection.cs
- OrderedDictionaryStateHelper.cs
- TextBox.cs
- SpecularMaterial.cs
- SqlWorkflowInstanceStore.cs
- ComPersistableTypeElementCollection.cs
- CurrentChangingEventArgs.cs
- EncoderNLS.cs
- ListViewItemEventArgs.cs
- EntityStoreSchemaFilterEntry.cs
- XomlCompilerHelpers.cs
- SemanticAnalyzer.cs
- ITextView.cs
- MultiBindingExpression.cs
- OperationInvokerBehavior.cs
- FormViewDeletedEventArgs.cs
- UserControl.cs
- XmlWriterTraceListener.cs
- OpenFileDialog.cs
- ProgressPage.cs
- HtmlTable.cs
- DiscoveryEndpointValidator.cs
- ThreadExceptionDialog.cs
- ServiceContractAttribute.cs
- AssemblyNameProxy.cs
- XmlNamedNodeMap.cs
- ReferencedAssembly.cs
- DetailsViewCommandEventArgs.cs
- BitmapEffectDrawingContent.cs
- DocumentGridContextMenu.cs
- KeyTimeConverter.cs
- VariableBinder.cs