Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XMLSchema.cs
- CompiledXpathExpr.cs
- ListViewContainer.cs
- DataMemberAttribute.cs
- CodeAssignStatement.cs
- InvokeHandlers.cs
- MediaScriptCommandRoutedEventArgs.cs
- ThemeableAttribute.cs
- WebPartDescription.cs
- PropertyManager.cs
- HMACSHA384.cs
- IChannel.cs
- __Filters.cs
- ReadOnlyCollectionBase.cs
- SelectorAutomationPeer.cs
- TransformerTypeCollection.cs
- AdPostCacheSubstitution.cs
- MasterPage.cs
- ColorKeyFrameCollection.cs
- AutomationIdentifierGuids.cs
- WindowsScroll.cs
- coordinator.cs
- Html32TextWriter.cs
- BitmapFrameDecode.cs
- TdsParserSafeHandles.cs
- MD5CryptoServiceProvider.cs
- DoubleAnimationBase.cs
- Models.cs
- HtmlElementEventArgs.cs
- FilterableAttribute.cs
- InfoCardListRequest.cs
- PointUtil.cs
- TableLayoutColumnStyleCollection.cs
- AspNetRouteServiceHttpHandler.cs
- FormsAuthenticationEventArgs.cs
- HostingEnvironmentWrapper.cs
- InputGestureCollection.cs
- FontStyle.cs
- PKCS1MaskGenerationMethod.cs
- SweepDirectionValidation.cs
- PropertyItemInternal.cs
- TabControl.cs
- XmlFormatMapping.cs
- ErrorWebPart.cs
- CodeRemoveEventStatement.cs
- UnsafeNativeMethods.cs
- RuntimeHandles.cs
- ImageFormatConverter.cs
- LinqDataSourceHelper.cs
- ItemCollection.cs
- Error.cs
- util.cs
- DiagnosticTraceSource.cs
- MessageBox.cs
- DeviceSpecificDialogCachedState.cs
- PersonalizationState.cs
- HttpFileCollectionWrapper.cs
- TextEndOfLine.cs
- ActivityDesignerAccessibleObject.cs
- Condition.cs
- TextRunProperties.cs
- WindowsAuthenticationModule.cs
- SafeViewOfFileHandle.cs
- Collection.cs
- SettingsAttributes.cs
- IIS7WorkerRequest.cs
- NamedPipeAppDomainProtocolHandler.cs
- FormViewRow.cs
- PageParserFilter.cs
- GradientBrush.cs
- ProcessModelSection.cs
- UmAlQuraCalendar.cs
- StringWriter.cs
- BindStream.cs
- printdlgexmarshaler.cs
- DataGridViewLinkColumn.cs
- SettingsProperty.cs
- DataObjectEventArgs.cs
- SystemTcpStatistics.cs
- DSACryptoServiceProvider.cs
- RichTextBoxContextMenu.cs
- SamlAuthorityBinding.cs
- MouseOverProperty.cs
- PasswordRecovery.cs
- SafeProcessHandle.cs
- ItemCheckedEvent.cs
- DetailsViewUpdateEventArgs.cs
- ContainerSelectorActiveEvent.cs
- TypeBuilderInstantiation.cs
- QuaternionValueSerializer.cs
- ArgumentOutOfRangeException.cs
- XmlChildNodes.cs
- linebase.cs
- EncodingDataItem.cs
- IssuedTokenServiceElement.cs
- DoubleAnimationClockResource.cs
- HttpServerVarsCollection.cs
- SQLUtility.cs
- IdentityManager.cs
- CasesDictionary.cs