Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityCommandExecutionException.cs / 1305376 / EntityCommandExecutionException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.IO; using System.Data.Common; using System.Globalization; using System.Runtime.Serialization; using System.Security.Permissions; ////// Represents a failure while trying to prepare or execute a CommandExecution /// /// This exception is intended to provide a common exception that people can catch to /// hold provider exceptions (SqlException, OracleException) when using the EntityCommand /// to execute statements. /// [Serializable] public sealed class EntityCommandExecutionException : EntityException { #region Constructors ////// initializes a new instance of EntityCommandExecutionException, no message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandExecutionException() : base() { HResult = HResults.CommandExecution; } ////// initializes a new instance of EntityCommandExecutionException, with message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandExecutionException(string message) : base(message) { HResult = HResults.CommandExecution; } ////// initializes a new instance of EntityCommandExecutionException with message and an inner exception instance /// /// /// public EntityCommandExecutionException(string message, Exception innerException) : base(message, innerException) { HResult = HResults.CommandExecution; } ////// initializes a new instance EntityCommandExecutionException with a given SerializationInfo and StreamingContext /// /// /// private EntityCommandExecutionException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { HResult = HResults.CommandExecution; } #endregion } } // 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
- DependencyPropertyConverter.cs
- ContextMenuStripActionList.cs
- HijriCalendar.cs
- UpdatePanelTrigger.cs
- VScrollBar.cs
- ClientScriptManager.cs
- HwndTarget.cs
- ItemDragEvent.cs
- AppLevelCompilationSectionCache.cs
- XmlCharType.cs
- HttpCookiesSection.cs
- DataObject.cs
- FaultHandlingFilter.cs
- ToolCreatedEventArgs.cs
- Link.cs
- SecurityPermission.cs
- CodeDomConfigurationHandler.cs
- XmlSchemaNotation.cs
- CustomGrammar.cs
- CustomAttribute.cs
- Funcletizer.cs
- NativeMethodsCLR.cs
- MailAddress.cs
- BitmapData.cs
- Int16AnimationBase.cs
- GridViewRowCollection.cs
- CfgSemanticTag.cs
- VisualStyleElement.cs
- EnumBuilder.cs
- XXXInfos.cs
- DocumentViewer.cs
- CompensatableSequenceActivity.cs
- OdbcParameterCollection.cs
- TransformGroup.cs
- Registry.cs
- Ipv6Element.cs
- ListViewCommandEventArgs.cs
- ConfigurationErrorsException.cs
- ToolStrip.cs
- SendKeys.cs
- IImplicitResourceProvider.cs
- RegexStringValidator.cs
- ExecutedRoutedEventArgs.cs
- ObjectParameterCollection.cs
- AdRotator.cs
- ListViewAutomationPeer.cs
- UriScheme.cs
- ConnectionStringsSection.cs
- FaultPropagationQuery.cs
- DrawingCollection.cs
- SqlServer2KCompatibilityAnnotation.cs
- NameGenerator.cs
- StringDictionary.cs
- _SafeNetHandles.cs
- PropertyInformation.cs
- GenericPrincipal.cs
- TTSEvent.cs
- TagPrefixCollection.cs
- WebPartsSection.cs
- PerfCounters.cs
- GenericAuthenticationEventArgs.cs
- QilVisitor.cs
- DiscoveryMessageProperty.cs
- messageonlyhwndwrapper.cs
- NameSpaceExtractor.cs
- ChangesetResponse.cs
- MissingFieldException.cs
- ConnectionProviderAttribute.cs
- XamlRtfConverter.cs
- CustomTypeDescriptor.cs
- XmlSchemaSimpleType.cs
- Profiler.cs
- UIInitializationException.cs
- clipboard.cs
- EventToken.cs
- CssClassPropertyAttribute.cs
- DiscoveryServiceExtension.cs
- TextFormatterContext.cs
- WebServiceData.cs
- IPPacketInformation.cs
- CellTreeNodeVisitors.cs
- Tracer.cs
- WsatServiceCertificate.cs
- HostedTransportConfigurationBase.cs
- CookielessData.cs
- RelationshipEndMember.cs
- AggregatePushdown.cs
- SimpleHandlerBuildProvider.cs
- KeySplineConverter.cs
- ProtocolsSection.cs
- SqlFacetAttribute.cs
- GridViewRowCollection.cs
- SqlConnectionFactory.cs
- TreeBuilder.cs
- RootAction.cs
- updatecommandorderer.cs
- VirtualDirectoryMapping.cs
- DataGridViewCheckBoxCell.cs
- TimeZone.cs
- TemplatePagerField.cs