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
- Native.cs
- TemplateKey.cs
- DocumentViewerBaseAutomationPeer.cs
- StatusStrip.cs
- EntityDataSourceView.cs
- DNS.cs
- ThaiBuddhistCalendar.cs
- PrintController.cs
- IntegerFacetDescriptionElement.cs
- GridLength.cs
- AuthenticationManager.cs
- TTSEngineProxy.cs
- ModuleElement.cs
- Panel.cs
- StopStoryboard.cs
- xmlglyphRunInfo.cs
- PerformanceCounterPermissionEntryCollection.cs
- ArraySet.cs
- RegexCompiler.cs
- GridViewRowCollection.cs
- WhitespaceRule.cs
- SettingsProviderCollection.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ParameterBuilder.cs
- AppSettingsExpressionBuilder.cs
- BezierSegment.cs
- CodeGenerator.cs
- AttributeCollection.cs
- TraceContextRecord.cs
- LocalizationCodeDomSerializer.cs
- XPathException.cs
- DataGridViewDataConnection.cs
- SmtpAuthenticationManager.cs
- SchemaNamespaceManager.cs
- FontStyleConverter.cs
- DataSourceControl.cs
- ListMarkerLine.cs
- COAUTHIDENTITY.cs
- AssemblyAttributes.cs
- Size3D.cs
- DataListItemCollection.cs
- InputGestureCollection.cs
- PagePropertiesChangingEventArgs.cs
- HttpListenerException.cs
- TextRunCacheImp.cs
- Transform.cs
- SqlAliasesReferenced.cs
- DataBoundControlAdapter.cs
- ResourceContainer.cs
- EdmTypeAttribute.cs
- RelatedEnd.cs
- BigInt.cs
- GeneratedContractType.cs
- ReadingWritingEntityEventArgs.cs
- PlatformCulture.cs
- PseudoWebRequest.cs
- VisualTreeUtils.cs
- ThousandthOfEmRealDoubles.cs
- StaticDataManager.cs
- ParseHttpDate.cs
- Formatter.cs
- Crc32Helper.cs
- LambdaCompiler.Lambda.cs
- EntityExpressionVisitor.cs
- NativeMethods.cs
- CharacterBufferReference.cs
- HttpPostedFile.cs
- AssociationSet.cs
- PrintingPermissionAttribute.cs
- WebPartVerbsEventArgs.cs
- DataShape.cs
- TouchesOverProperty.cs
- DateTimeConverter2.cs
- SystemResourceKey.cs
- WebScriptEnablingElement.cs
- PropertyEmitterBase.cs
- DesignParameter.cs
- Int32EqualityComparer.cs
- TableRow.cs
- Int32AnimationBase.cs
- GlyphingCache.cs
- WebHttpSecurityModeHelper.cs
- TableLayoutPanelBehavior.cs
- BitmapVisualManager.cs
- UnsafeNativeMethodsTablet.cs
- MetadataSource.cs
- EventHandlerService.cs
- DeploymentSectionCache.cs
- CustomAttribute.cs
- UriTemplateCompoundPathSegment.cs
- ConstNode.cs
- MessageUtil.cs
- NumericUpDown.cs
- OleDbCommandBuilder.cs
- SqlProviderServices.cs
- ProxyAssemblyNotLoadedException.cs
- AssemblyName.cs
- LinkedResourceCollection.cs
- CommandSet.cs
- ReverseInheritProperty.cs