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
- TypeListConverter.cs
- VarRemapper.cs
- ListenerElementsCollection.cs
- ServicePrincipalNameElement.cs
- MobileUITypeEditor.cs
- Page.cs
- TabItemWrapperAutomationPeer.cs
- MimeTypeAttribute.cs
- DoubleLinkList.cs
- SafeTimerHandle.cs
- GZipStream.cs
- ObfuscationAttribute.cs
- CatalogPartCollection.cs
- ConstructorBuilder.cs
- CodeAccessSecurityEngine.cs
- SecurityPermission.cs
- ProviderSettings.cs
- EdmSchemaAttribute.cs
- ProviderCollection.cs
- Vector3DIndependentAnimationStorage.cs
- DefaultTextStore.cs
- ToolZone.cs
- RuntimeEnvironment.cs
- __Filters.cs
- GridViewCancelEditEventArgs.cs
- RotationValidation.cs
- FilterRepeater.cs
- VisualStyleTypesAndProperties.cs
- NetTcpSection.cs
- PeerApplication.cs
- FileDialog_Vista_Interop.cs
- LogEntryHeaderv1Deserializer.cs
- HtmlTableRow.cs
- StatusCommandUI.cs
- PropertyRecord.cs
- XmlSchemaElement.cs
- DynamicEntity.cs
- sortedlist.cs
- Scene3D.cs
- HtmlProps.cs
- SoapIncludeAttribute.cs
- CodeExpressionRuleDeclaration.cs
- DynamicHyperLink.cs
- StringValidatorAttribute.cs
- BitmapEffectvisualstate.cs
- RadioButton.cs
- StylusShape.cs
- TCPListener.cs
- Camera.cs
- UIElement3D.cs
- BuildProviderAppliesToAttribute.cs
- FamilyTypeface.cs
- SqlTypeConverter.cs
- RotateTransform.cs
- XmlTextAttribute.cs
- WindowVisualStateTracker.cs
- ToolboxItem.cs
- ProviderMetadataCachedInformation.cs
- AsymmetricAlgorithm.cs
- XmlILOptimizerVisitor.cs
- FamilyMap.cs
- ScaleTransform.cs
- CqlErrorHelper.cs
- NativeMethods.cs
- CodeStatement.cs
- odbcmetadatafactory.cs
- DiffuseMaterial.cs
- WebBaseEventKeyComparer.cs
- UseManagedPresentationBindingElement.cs
- IPEndPoint.cs
- Translator.cs
- TextRunCache.cs
- SR.Designer.cs
- DataGridViewLinkColumn.cs
- ExcludePathInfo.cs
- DiagnosticsConfigurationHandler.cs
- DataGridTextBoxColumn.cs
- XomlDesignerLoader.cs
- NetTcpSectionData.cs
- ColorContext.cs
- ExclusiveHandleList.cs
- MultipleViewProviderWrapper.cs
- LineInfo.cs
- StylusDownEventArgs.cs
- XPathEmptyIterator.cs
- FontResourceCache.cs
- MemoryFailPoint.cs
- TextEditor.cs
- XmlComplianceUtil.cs
- PathFigureCollectionValueSerializer.cs
- HttpModulesInstallComponent.cs
- JoinCqlBlock.cs
- TraceContextRecord.cs
- ProxyHwnd.cs
- ParsedAttributeCollection.cs
- COM2ComponentEditor.cs
- ListItemConverter.cs
- FilterQueryOptionExpression.cs
- XmlText.cs
- TypeDependencyAttribute.cs