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
- OdbcException.cs
- ThemeableAttribute.cs
- DataBinder.cs
- MSAANativeProvider.cs
- PrivilegedConfigurationManager.cs
- RoutedEventArgs.cs
- Column.cs
- VirtualPath.cs
- PropertyTabAttribute.cs
- ValidationErrorCollection.cs
- SessionEndingCancelEventArgs.cs
- SingleConverter.cs
- TimeSpan.cs
- arabicshape.cs
- FullTrustAssemblyCollection.cs
- Int64Animation.cs
- BufferAllocator.cs
- VersionedStream.cs
- Process.cs
- GatewayDefinition.cs
- AbstractExpressions.cs
- BooleanConverter.cs
- MetadataUtilsSmi.cs
- SiteMapNodeItemEventArgs.cs
- CustomErrorCollection.cs
- AnnotationService.cs
- TextFragmentEngine.cs
- TimeSpanParse.cs
- TypeResolver.cs
- WebConfigurationHost.cs
- VScrollProperties.cs
- ToolBarDesigner.cs
- TextParaClient.cs
- CheckBoxPopupAdapter.cs
- columnmapfactory.cs
- DataFormats.cs
- ComponentChangedEvent.cs
- ActivityDesignerLayoutSerializers.cs
- MediaElement.cs
- InvokeAction.cs
- XmlParserContext.cs
- RawStylusInputReport.cs
- SettingsBase.cs
- SecureUICommand.cs
- DataGridViewComboBoxColumn.cs
- ParseChildrenAsPropertiesAttribute.cs
- FontFamily.cs
- Pkcs9Attribute.cs
- Schema.cs
- XmlSchemaSimpleContentExtension.cs
- SQLMembershipProvider.cs
- XPathAncestorQuery.cs
- SimpleParser.cs
- Part.cs
- CodeNamespaceImportCollection.cs
- GetTokenRequest.cs
- BufferedGraphicsContext.cs
- FileUpload.cs
- ThreadAbortException.cs
- InvalidCommandTreeException.cs
- ellipse.cs
- TableLayout.cs
- UdpDuplexChannel.cs
- XPathException.cs
- SurrogateSelector.cs
- SchemaImporterExtensionElementCollection.cs
- QilPatternFactory.cs
- EntityDataSourceSelectingEventArgs.cs
- SymLanguageVendor.cs
- Win32SafeHandles.cs
- OleDbDataAdapter.cs
- LocationSectionRecord.cs
- XPathNodeList.cs
- ActivityBuilderHelper.cs
- SoapCommonClasses.cs
- StatusBarItemAutomationPeer.cs
- BitmapSourceSafeMILHandle.cs
- ActiveDesignSurfaceEvent.cs
- WebPartChrome.cs
- XmlSchemaCollection.cs
- MediaEntryAttribute.cs
- ToolStripItemEventArgs.cs
- XmlSchemaDocumentation.cs
- ImpersonationOption.cs
- QueryAsyncResult.cs
- iisPickupDirectory.cs
- XmlValidatingReader.cs
- SqlServices.cs
- CroppedBitmap.cs
- Memoizer.cs
- Types.cs
- DurableErrorHandler.cs
- StreamGeometry.cs
- BaseTemplateBuildProvider.cs
- DeadCharTextComposition.cs
- DrawingServices.cs
- EventBuilder.cs
- Html32TextWriter.cs
- Statements.cs
- SessionState.cs