Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- SessionPageStatePersister.cs
- ConstructorNeedsTagAttribute.cs
- LinkConverter.cs
- VirtualPath.cs
- BitmapEffectvisualstate.cs
- IsolatedStoragePermission.cs
- WSFederationHttpBinding.cs
- Pointer.cs
- UnsafeNativeMethods.cs
- Gdiplus.cs
- EnumerableWrapperWeakToStrong.cs
- LocalFileSettingsProvider.cs
- LOSFormatter.cs
- EntityPropertyMappingAttribute.cs
- FontConverter.cs
- ExecutedRoutedEventArgs.cs
- FirewallWrapper.cs
- CachedPathData.cs
- ProfileEventArgs.cs
- CustomErrorsSection.cs
- SqlDataSourceCache.cs
- _SingleItemRequestCache.cs
- JsonSerializer.cs
- ScrollBar.cs
- InputGestureCollection.cs
- LowerCaseStringConverter.cs
- HostingPreferredMapPath.cs
- StreamGeometry.cs
- DataControlFieldHeaderCell.cs
- IOException.cs
- ArraySegment.cs
- DataGridViewTextBoxColumn.cs
- ResponseStream.cs
- RSAOAEPKeyExchangeFormatter.cs
- SystemWebSectionGroup.cs
- TypeDependencyAttribute.cs
- WebMessageBodyStyleHelper.cs
- ComIntegrationManifestGenerator.cs
- ObjectQuery.cs
- WindowsTitleBar.cs
- TagNameToTypeMapper.cs
- RadioButtonList.cs
- XmlBaseReader.cs
- ProtectedConfigurationSection.cs
- TemplateBindingExpressionConverter.cs
- TextEvent.cs
- ValidatorUtils.cs
- LabelLiteral.cs
- EmbeddedMailObject.cs
- DeviceContexts.cs
- WasHttpHandlersInstallComponent.cs
- OdbcConnectionStringbuilder.cs
- HexParser.cs
- ContentType.cs
- NetDataContractSerializer.cs
- SiteMapPath.cs
- Resources.Designer.cs
- XsdBuildProvider.cs
- Parser.cs
- XmlRawWriterWrapper.cs
- GraphicsPathIterator.cs
- DataGridViewAccessibleObject.cs
- Latin1Encoding.cs
- UserPrincipalNameElement.cs
- TextServicesDisplayAttribute.cs
- StrokeCollectionDefaultValueFactory.cs
- Converter.cs
- VerticalAlignConverter.cs
- GeneralTransform3D.cs
- PrintDialog.cs
- SupportsEventValidationAttribute.cs
- WSSecureConversationDec2005.cs
- SyndicationSerializer.cs
- Types.cs
- assertwrapper.cs
- PointHitTestParameters.cs
- AnnotationObservableCollection.cs
- ProfileProvider.cs
- PermissionSetEnumerator.cs
- FileSecurity.cs
- TiffBitmapEncoder.cs
- CodeTryCatchFinallyStatement.cs
- AvTrace.cs
- SHA1CryptoServiceProvider.cs
- Clock.cs
- DateTimeFormatInfo.cs
- XamlWriterExtensions.cs
- ConstructorNeedsTagAttribute.cs
- WorkBatch.cs
- MergeFailedEvent.cs
- MultidimensionalArrayItemReference.cs
- RegexNode.cs
- AutomationPatternInfo.cs
- Visual3D.cs
- TableLayoutSettingsTypeConverter.cs
- WorkflowOperationBehavior.cs
- mil_sdk_version.cs
- StreamedWorkflowDefinitionContext.cs
- WSSecurityJan2004.cs
- CommunicationObjectManager.cs