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
- KnownColorTable.cs
- SourceInterpreter.cs
- Compensation.cs
- ScriptManager.cs
- TextEndOfLine.cs
- ClientUrlResolverWrapper.cs
- WeakReadOnlyCollection.cs
- TraceContextRecord.cs
- SymmetricCryptoHandle.cs
- KeyedByTypeCollection.cs
- GrabHandleGlyph.cs
- RotationValidation.cs
- SqlDataSourceEnumerator.cs
- Crc32.cs
- BinaryFormatterWriter.cs
- XmlSequenceWriter.cs
- TableLayoutColumnStyleCollection.cs
- ValidationErrorCollection.cs
- HttpRawResponse.cs
- TimeIntervalCollection.cs
- ModelUtilities.cs
- ProtocolsConfigurationEntry.cs
- ComponentResourceKey.cs
- NotCondition.cs
- CacheModeConverter.cs
- TypeExtension.cs
- UMPAttributes.cs
- ToolStripScrollButton.cs
- HtmlCommandAdapter.cs
- JsonServiceDocumentSerializer.cs
- TypeForwardedFromAttribute.cs
- FormViewInsertedEventArgs.cs
- SafeHGlobalHandleCritical.cs
- RadioButtonPopupAdapter.cs
- OracleTimeSpan.cs
- Property.cs
- ConnectionString.cs
- MenuItemStyleCollection.cs
- XmlSchemaImporter.cs
- BinHexEncoder.cs
- CapiSafeHandles.cs
- EventKeyword.cs
- XamlPoint3DCollectionSerializer.cs
- Model3DGroup.cs
- SQLMoneyStorage.cs
- MouseButton.cs
- ApplicationBuildProvider.cs
- FreeFormDesigner.cs
- NotifyCollectionChangedEventArgs.cs
- ColorTransform.cs
- DataGridViewCellCancelEventArgs.cs
- ProfileInfo.cs
- DispatchWrapper.cs
- VariableExpressionConverter.cs
- BaseProcessor.cs
- ImageField.cs
- OciLobLocator.cs
- ItemContainerGenerator.cs
- DecodeHelper.cs
- FormViewActionList.cs
- SoapSchemaMember.cs
- TreeViewItemAutomationPeer.cs
- IntegerValidator.cs
- SystemSounds.cs
- LoginAutoFormat.cs
- FixedPageAutomationPeer.cs
- EtwTrace.cs
- Membership.cs
- KeyValuePairs.cs
- ACE.cs
- ListControlConvertEventArgs.cs
- ContentIterators.cs
- XmlCharType.cs
- Translator.cs
- Timer.cs
- OdbcCommandBuilder.cs
- Path.cs
- NativeMethods.cs
- CodeAccessPermission.cs
- TimeStampChecker.cs
- InitializerFacet.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- DataGridRow.cs
- UrlMappingsSection.cs
- DataGridRow.cs
- LostFocusEventManager.cs
- DataGridRow.cs
- StatusBarItem.cs
- XmlNodeChangedEventManager.cs
- PersonalizationStateInfoCollection.cs
- ListBoxItemAutomationPeer.cs
- TagMapCollection.cs
- ReadOnlyDataSource.cs
- followingquery.cs
- TableRowCollection.cs
- DesignerSerializerAttribute.cs
- Hyperlink.cs
- XmlEntityReference.cs
- InvalidAsynchronousStateException.cs
- HttpWebRequestElement.cs