Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityCommandExecutionException.cs / 1305376 / EntityCommandExecutionException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- TraceData.cs
- ButtonChrome.cs
- DoubleAnimationUsingKeyFrames.cs
- CursorConverter.cs
- PersonalizableTypeEntry.cs
- NonParentingControl.cs
- NativeMethodsCLR.cs
- ElementHostPropertyMap.cs
- MeshGeometry3D.cs
- FixedDocument.cs
- StyleXamlParser.cs
- ClientApiGenerator.cs
- SetState.cs
- SqlSelectStatement.cs
- GestureRecognitionResult.cs
- IdentifierElement.cs
- XmlSchemaDocumentation.cs
- _BufferOffsetSize.cs
- CrossSiteScriptingValidation.cs
- Transform3DGroup.cs
- ExpressionConverter.cs
- WindowsTooltip.cs
- SemanticResultValue.cs
- CookielessHelper.cs
- EntityDescriptor.cs
- ButtonChrome.cs
- assemblycache.cs
- EntitySqlQueryBuilder.cs
- ViewStateException.cs
- DeferredReference.cs
- IRCollection.cs
- SqlCommand.cs
- CryptoConfig.cs
- JsonServiceDocumentSerializer.cs
- X509CertificateTrustedIssuerElementCollection.cs
- Model3DGroup.cs
- UnsafeNativeMethods.cs
- ArrayList.cs
- Oid.cs
- Menu.cs
- PrimitiveDataContract.cs
- ObjectToIdCache.cs
- IPEndPoint.cs
- ToolBarButtonClickEvent.cs
- MetadataArtifactLoaderCompositeFile.cs
- SystemEvents.cs
- CopyNamespacesAction.cs
- WebPartZoneAutoFormat.cs
- SerializationInfoEnumerator.cs
- TypeElement.cs
- RadioButtonList.cs
- BuildProviderCollection.cs
- BaseTransportHeaders.cs
- ClientRuntimeConfig.cs
- WebPartCancelEventArgs.cs
- StatusBarPanel.cs
- SerialStream.cs
- GPStream.cs
- NavigationWindow.cs
- EncoderReplacementFallback.cs
- WithParamAction.cs
- InvokeBase.cs
- FormatterConverter.cs
- TextRangeEdit.cs
- FlowDocumentPageViewerAutomationPeer.cs
- UnsettableComboBox.cs
- TypedReference.cs
- DelegatedStream.cs
- AssemblyResourceLoader.cs
- WebControlsSection.cs
- SimpleType.cs
- EventQueueState.cs
- WebPartEditorApplyVerb.cs
- SessionStateItemCollection.cs
- StylusCollection.cs
- ISFTagAndGuidCache.cs
- ModelChangedEventArgsImpl.cs
- Version.cs
- DefaultBinder.cs
- CodeSnippetTypeMember.cs
- IPHostEntry.cs
- OutputWindow.cs
- BufferedGraphics.cs
- WebPartEditorOkVerb.cs
- AssemblyResolver.cs
- RichTextBoxAutomationPeer.cs
- PolicyVersion.cs
- PrimitiveRenderer.cs
- MdImport.cs
- SqlParameter.cs
- CaseInsensitiveHashCodeProvider.cs
- SpellerStatusTable.cs
- DPCustomTypeDescriptor.cs
- ForeignKeyConstraint.cs
- DataGridViewComboBoxColumnDesigner.cs
- Message.cs
- StylusPointCollection.cs
- WebPartActionVerb.cs
- NotifyParentPropertyAttribute.cs
- MembershipSection.cs