Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- MemoryFailPoint.cs
- SspiSafeHandles.cs
- RowParagraph.cs
- SessionStateContainer.cs
- MimeMapping.cs
- Int32CollectionValueSerializer.cs
- MaskInputRejectedEventArgs.cs
- PageCodeDomTreeGenerator.cs
- ObjectTag.cs
- SafeNativeMethods.cs
- ExpressionEvaluator.cs
- XamlTreeBuilder.cs
- ExpressionVisitor.cs
- sqlmetadatafactory.cs
- PolyBezierSegment.cs
- TextEditorContextMenu.cs
- ContainsRowNumberChecker.cs
- Line.cs
- ArrayList.cs
- documentsequencetextview.cs
- ConfigurationElementCollection.cs
- DiscardableAttribute.cs
- XmlSerializerAssemblyAttribute.cs
- RelatedView.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- EntityDataSourceStatementEditor.cs
- UnsafeNativeMethodsCLR.cs
- XmlChildNodes.cs
- Comparer.cs
- ListBindingConverter.cs
- HtmlInputReset.cs
- SubpageParagraph.cs
- SafeNativeMethods.cs
- ClientCultureInfo.cs
- BindingList.cs
- AxWrapperGen.cs
- StructuralType.cs
- EntityContainerEntitySetDefiningQuery.cs
- NetSectionGroup.cs
- FloaterParaClient.cs
- DiscoveryClientProtocol.cs
- PropertyManager.cs
- _AutoWebProxyScriptEngine.cs
- ImplicitInputBrush.cs
- SqlCacheDependencyDatabaseCollection.cs
- GeneralTransform2DTo3D.cs
- PathGeometry.cs
- DataGridBoolColumn.cs
- FileLogRecord.cs
- EnumerableRowCollection.cs
- AxImporter.cs
- GroupBoxRenderer.cs
- ChangesetResponse.cs
- unsafenativemethodsother.cs
- ObservableCollection.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- MethodExpr.cs
- ComplexLine.cs
- PrtTicket_Public.cs
- ReadOnlyDictionary.cs
- GlobalAllocSafeHandle.cs
- ArglessEventHandlerProxy.cs
- AutomationProperty.cs
- PopupEventArgs.cs
- DataGridViewColumnStateChangedEventArgs.cs
- RoleManagerModule.cs
- OdbcConnectionString.cs
- PathTooLongException.cs
- ConnectionStringsSection.cs
- SerializationFieldInfo.cs
- AnnotationResource.cs
- invalidudtexception.cs
- EventLog.cs
- SHA256CryptoServiceProvider.cs
- RefreshEventArgs.cs
- TempFiles.cs
- DigestTraceRecordHelper.cs
- BamlBinaryReader.cs
- TableItemStyle.cs
- VirtualDirectoryMappingCollection.cs
- MergeFilterQuery.cs
- CodePropertyReferenceExpression.cs
- CroppedBitmap.cs
- ResourcePermissionBase.cs
- HScrollBar.cs
- SqlBulkCopy.cs
- AccessedThroughPropertyAttribute.cs
- DropShadowBitmapEffect.cs
- Calendar.cs
- GPPOINT.cs
- RuleInfoComparer.cs
- SocketException.cs
- wgx_exports.cs
- GridLength.cs
- MapPathBasedVirtualPathProvider.cs
- EdmItemCollection.OcAssemblyCache.cs
- CapabilitiesAssignment.cs
- HtmlInputRadioButton.cs
- ActivityCodeDomSerializer.cs
- _NetRes.cs