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 / EntityCommandExecutionException.cs / 1 / EntityCommandExecutionException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- 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 [....] //--------------------------------------------------------------------- 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
- ChainedAsyncResult.cs
- WebPartConnectionsCloseVerb.cs
- ExpandSegment.cs
- MouseGestureConverter.cs
- LinkLabelLinkClickedEvent.cs
- DataColumnChangeEvent.cs
- IndexedGlyphRun.cs
- ScrollViewer.cs
- DetailsViewInsertedEventArgs.cs
- SqlProfileProvider.cs
- MenuItem.cs
- Literal.cs
- XmlUTF8TextReader.cs
- SqlError.cs
- NotificationContext.cs
- PropertyChangeTracker.cs
- UniqueConstraint.cs
- DataRowView.cs
- CardSpaceSelector.cs
- TCEAdapterGenerator.cs
- SecurityProtocolCorrelationState.cs
- MD5.cs
- WebPartHelpVerb.cs
- IsolatedStorageFilePermission.cs
- AudioLevelUpdatedEventArgs.cs
- NodeFunctions.cs
- RotateTransform3D.cs
- PolicyValidationException.cs
- RedBlackList.cs
- CLRBindingWorker.cs
- DbBuffer.cs
- UpdateRecord.cs
- FormViewRow.cs
- Avt.cs
- RuntimeWrappedException.cs
- SupportingTokenChannel.cs
- BulletDecorator.cs
- PackageRelationshipCollection.cs
- SetterBase.cs
- Translator.cs
- LinqDataSourceInsertEventArgs.cs
- KernelTypeValidation.cs
- ProfileService.cs
- HttpListenerContext.cs
- CssClassPropertyAttribute.cs
- BamlBinaryReader.cs
- Timer.cs
- CompilationUnit.cs
- SchemaTableColumn.cs
- FixedSOMSemanticBox.cs
- OutputCacheProfileCollection.cs
- ConfigurationValue.cs
- loginstatus.cs
- CallSiteHelpers.cs
- StackOverflowException.cs
- ContractHandle.cs
- DATA_BLOB.cs
- StrongNameIdentityPermission.cs
- MSHTMLHost.cs
- HtmlInputText.cs
- basenumberconverter.cs
- DoubleKeyFrameCollection.cs
- InvalidFilterCriteriaException.cs
- JoinElimination.cs
- RegexCapture.cs
- ClientTarget.cs
- ConfigPathUtility.cs
- QuestionEventArgs.cs
- CompressedStack.cs
- MultipartIdentifier.cs
- ConsoleTraceListener.cs
- HTMLTagNameToTypeMapper.cs
- Vector3D.cs
- FontDriver.cs
- GPPOINT.cs
- PenContext.cs
- LocalFileSettingsProvider.cs
- TabOrder.cs
- SSmlParser.cs
- BamlLocalizableResource.cs
- GeneralTransform2DTo3D.cs
- Int32AnimationBase.cs
- SoapFormatExtensions.cs
- XsltArgumentList.cs
- BaseEntityWrapper.cs
- ThrowHelper.cs
- DataGridViewControlCollection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SamlAuthenticationClaimResource.cs
- IteratorFilter.cs
- ProtocolsConfigurationHandler.cs
- SlotInfo.cs
- PointLightBase.cs
- StringReader.cs
- _TimerThread.cs
- StrongNameKeyPair.cs
- DateTimeFormatInfo.cs
- DataStreams.cs
- TreeNodeBindingCollection.cs
- XmlDocumentType.cs