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
- Error.cs
- GB18030Encoding.cs
- Rect.cs
- EventArgs.cs
- SizeLimitedCache.cs
- System.Data_BID.cs
- JulianCalendar.cs
- InvalidOleVariantTypeException.cs
- DbProviderFactory.cs
- GroupItemAutomationPeer.cs
- RuleProcessor.cs
- ParseNumbers.cs
- NullExtension.cs
- TileBrush.cs
- Number.cs
- TextElementCollectionHelper.cs
- XamlFilter.cs
- ZipQueryOperator.cs
- TableAutomationPeer.cs
- HttpDebugHandler.cs
- CultureTable.cs
- AffineTransform3D.cs
- Convert.cs
- ListViewItemSelectionChangedEvent.cs
- TemplateBamlRecordReader.cs
- ToolboxBitmapAttribute.cs
- DispatcherOperation.cs
- TableCell.cs
- InternalConfigSettingsFactory.cs
- FileLoadException.cs
- HotSpot.cs
- HwndProxyElementProvider.cs
- RoutingExtensionElement.cs
- DataGridTableCollection.cs
- DataContractAttribute.cs
- SymmetricKey.cs
- WinFormsSpinner.cs
- JoinElimination.cs
- ListBase.cs
- SetStateDesigner.cs
- DataKeyCollection.cs
- DataControlButton.cs
- SubMenuStyleCollection.cs
- XmlEnumAttribute.cs
- TemplateControlBuildProvider.cs
- DataGridViewCellFormattingEventArgs.cs
- AtomContentProperty.cs
- FixedSchema.cs
- connectionpool.cs
- ResourceDictionary.cs
- SmiEventStream.cs
- EncodingInfo.cs
- ScrollViewer.cs
- ListControlConvertEventArgs.cs
- LongMinMaxAggregationOperator.cs
- ValidatorCompatibilityHelper.cs
- LowerCaseStringConverter.cs
- TextRangeSerialization.cs
- HttpRawResponse.cs
- GeneratedCodeAttribute.cs
- HttpCookiesSection.cs
- XmlDownloadManager.cs
- MaskedTextBox.cs
- BaseTemplateBuildProvider.cs
- LongCountAggregationOperator.cs
- FormViewDeleteEventArgs.cs
- StreamFormatter.cs
- Style.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Debug.cs
- NetworkInformationPermission.cs
- OleDbRowUpdatingEvent.cs
- PathGeometry.cs
- ScriptingAuthenticationServiceSection.cs
- AggregatePushdown.cs
- Win32SafeHandles.cs
- PrimitiveXmlSerializers.cs
- EpmTargetPathSegment.cs
- BrowserCapabilitiesFactory.cs
- WorkflowRuntimeElement.cs
- RayHitTestParameters.cs
- validationstate.cs
- EnumerableRowCollectionExtensions.cs
- Rijndael.cs
- SurrogateSelector.cs
- VersionPair.cs
- DataGridViewCellParsingEventArgs.cs
- RadialGradientBrush.cs
- FontStretch.cs
- ToolStripRenderer.cs
- SerializationFieldInfo.cs
- SessionStateUtil.cs
- BaseTemplateParser.cs
- InputScope.cs
- MDIControlStrip.cs
- CommonGetThemePartSize.cs
- TabletDeviceInfo.cs
- KeyInstance.cs
- Win32Native.cs
- IssuerInformation.cs