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
- RemotingException.cs
- DependencyObjectPropertyDescriptor.cs
- ActiveXHelper.cs
- SoapSchemaImporter.cs
- DataDesignUtil.cs
- ObjRef.cs
- SettingsPropertyWrongTypeException.cs
- ProxyWebPartManagerDesigner.cs
- SmtpFailedRecipientsException.cs
- UnsafeNativeMethodsCLR.cs
- CanExecuteRoutedEventArgs.cs
- ServiceReference.cs
- PatternMatchRules.cs
- Clipboard.cs
- TextElement.cs
- HiddenFieldPageStatePersister.cs
- ForceCopyBuildProvider.cs
- DataControlFieldCollection.cs
- XmlDataLoader.cs
- HwndSubclass.cs
- PasswordRecovery.cs
- GroupLabel.cs
- SystemSounds.cs
- AppDomainShutdownMonitor.cs
- ProviderIncompatibleException.cs
- BasePropertyDescriptor.cs
- XmlSchemaGroup.cs
- SoapElementAttribute.cs
- WSMessageEncoding.cs
- SelectionPattern.cs
- DateTimeValueSerializerContext.cs
- UndoManager.cs
- DataGridTableCollection.cs
- ThreadStartException.cs
- ProviderException.cs
- ActivityBuilderHelper.cs
- LineServicesRun.cs
- TypeElement.cs
- TransformPatternIdentifiers.cs
- ServiceObjectContainer.cs
- URI.cs
- SystemTcpConnection.cs
- TemplateManager.cs
- COM2ExtendedBrowsingHandler.cs
- HtmlTableCell.cs
- regiisutil.cs
- ResourceReferenceExpressionConverter.cs
- SoapTypeAttribute.cs
- ToolboxItemAttribute.cs
- WebPartDeleteVerb.cs
- ObjectItemCollection.cs
- PerfCounterSection.cs
- PrinterResolution.cs
- dataobject.cs
- WebPartMenuStyle.cs
- ObjectItemLoadingSessionData.cs
- MatrixIndependentAnimationStorage.cs
- DesignerTransactionCloseEvent.cs
- MetadataException.cs
- Rect3DConverter.cs
- LabelInfo.cs
- PauseStoryboard.cs
- CompatibleComparer.cs
- EntitySqlQueryCacheKey.cs
- AliasedSlot.cs
- CapabilitiesRule.cs
- OraclePermissionAttribute.cs
- ChannelManager.cs
- PropertyTab.cs
- TableSectionStyle.cs
- SymLanguageVendor.cs
- Identity.cs
- Baml2006KeyRecord.cs
- StreamedFramingRequestChannel.cs
- EditorAttribute.cs
- XmlMemberMapping.cs
- UpdateProgress.cs
- Label.cs
- RadioButtonPopupAdapter.cs
- DeadLetterQueue.cs
- PrintDialogException.cs
- PagePropertiesChangingEventArgs.cs
- Line.cs
- CodeDirectiveCollection.cs
- RowToParametersTransformer.cs
- Int32.cs
- CanExecuteRoutedEventArgs.cs
- HtmlSelect.cs
- FixedSOMElement.cs
- CheckBoxBaseAdapter.cs
- CssClassPropertyAttribute.cs
- LinqDataSourceView.cs
- MethodSignatureGenerator.cs
- OptionalColumn.cs
- ProfilePropertySettingsCollection.cs
- DataControlImageButton.cs
- WindowExtensionMethods.cs
- ModelPerspective.cs
- ServiceKnownTypeAttribute.cs
- StrokeRenderer.cs