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
- ExpressionVisitor.cs
- ReadOnlyDataSourceView.cs
- DataGridViewColumnEventArgs.cs
- ScriptResourceHandler.cs
- ButtonFlatAdapter.cs
- DbMetaDataFactory.cs
- DataBindEngine.cs
- TableCell.cs
- FaultContext.cs
- SrgsText.cs
- ServiceProviders.cs
- webeventbuffer.cs
- CommandConverter.cs
- WindowsFormsEditorServiceHelper.cs
- StructuredTypeEmitter.cs
- PageThemeParser.cs
- Bind.cs
- LineProperties.cs
- CatalogPartDesigner.cs
- DataGridItem.cs
- WsatServiceAddress.cs
- SchemaExporter.cs
- LinkLabelLinkClickedEvent.cs
- Partitioner.cs
- SignatureDescription.cs
- ConfigUtil.cs
- AttributeSetAction.cs
- DataGridCellEditEndingEventArgs.cs
- NetNamedPipeBindingElement.cs
- HttpProfileBase.cs
- HtmlTableCell.cs
- securitycriticaldataformultiplegetandset.cs
- DbProviderFactory.cs
- SafeRightsManagementSessionHandle.cs
- LineGeometry.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- DeflateEmulationStream.cs
- OleDbMetaDataFactory.cs
- Compilation.cs
- StateWorkerRequest.cs
- TickBar.cs
- KernelTypeValidation.cs
- DataRowExtensions.cs
- ContextActivityUtils.cs
- ConnectionPoolRegistry.cs
- Fx.cs
- DBCommandBuilder.cs
- BindingExpressionBase.cs
- NumericUpDownAcceleration.cs
- AdornerHitTestResult.cs
- TextEditorLists.cs
- GeneratedCodeAttribute.cs
- FragmentQueryProcessor.cs
- RenamedEventArgs.cs
- EventLogEntry.cs
- EditModeSwitchButton.cs
- FormParameter.cs
- Size.cs
- MetadataItem_Static.cs
- OleDbRowUpdatedEvent.cs
- NamespaceImport.cs
- ContentTextAutomationPeer.cs
- ToolStripOverflow.cs
- CounterSampleCalculator.cs
- GiveFeedbackEventArgs.cs
- SqlProcedureAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- DbDataReader.cs
- ObjectIDGenerator.cs
- Evaluator.cs
- BuildProviderUtils.cs
- ParserExtension.cs
- ValidatingReaderNodeData.cs
- DataGridTextBoxColumn.cs
- RefreshPropertiesAttribute.cs
- AnimatedTypeHelpers.cs
- RIPEMD160Managed.cs
- XmlDataSource.cs
- AppendHelper.cs
- LinkClickEvent.cs
- MultiBindingExpression.cs
- QuotedPrintableStream.cs
- RijndaelManagedTransform.cs
- ObjectViewListener.cs
- DataGridViewDataErrorEventArgs.cs
- ProfileServiceManager.cs
- WmlCommandAdapter.cs
- UIElement.cs
- Conditional.cs
- ScriptModule.cs
- _SecureChannel.cs
- NotifyParentPropertyAttribute.cs
- AssertSection.cs
- ExternalDataExchangeService.cs
- MatrixTransform.cs
- ToolStripGrip.cs
- KeyInfo.cs
- InvalidProgramException.cs
- EntityTypeEmitter.cs
- HtmlInputCheckBox.cs