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
- EncodingNLS.cs
- SystemEvents.cs
- PolyLineSegmentFigureLogic.cs
- securitycriticaldata.cs
- CorrelationManager.cs
- DesignerDataSchemaClass.cs
- CancelEventArgs.cs
- HtmlToClrEventProxy.cs
- RangeBaseAutomationPeer.cs
- WinInetCache.cs
- CustomAttributeSerializer.cs
- NumberSubstitution.cs
- login.cs
- MiniParameterInfo.cs
- ResXBuildProvider.cs
- ContentElementAutomationPeer.cs
- GridViewEditEventArgs.cs
- ContextDataSource.cs
- CharAnimationUsingKeyFrames.cs
- CustomError.cs
- SafeFindHandle.cs
- UrlParameterWriter.cs
- HandlerBase.cs
- Missing.cs
- MaskDescriptors.cs
- PackUriHelper.cs
- CommonProperties.cs
- MdiWindowListItemConverter.cs
- JsonReader.cs
- StyleSheetDesigner.cs
- RelatedPropertyManager.cs
- DataColumnPropertyDescriptor.cs
- HttpDigestClientCredential.cs
- MarginCollapsingState.cs
- SystemThemeKey.cs
- ScrollProviderWrapper.cs
- OuterGlowBitmapEffect.cs
- BooleanKeyFrameCollection.cs
- ConstructorNeedsTagAttribute.cs
- ActivityStatusChangeEventArgs.cs
- UrlParameterReader.cs
- BuildProvider.cs
- DefaultTextStore.cs
- FixedTextBuilder.cs
- SettingsBase.cs
- DeploymentSection.cs
- DecoderFallback.cs
- CodeMemberEvent.cs
- WebEventTraceProvider.cs
- Figure.cs
- AssemblyUtil.cs
- SimpleBitVector32.cs
- PreviewKeyDownEventArgs.cs
- ActivationServices.cs
- PointLight.cs
- PropertyGrid.cs
- FileDetails.cs
- DataTableReaderListener.cs
- XmlDataDocument.cs
- Model3D.cs
- RectKeyFrameCollection.cs
- ApplicationDirectoryMembershipCondition.cs
- SqlParameter.cs
- FontDifferentiator.cs
- ButtonField.cs
- SystemDropShadowChrome.cs
- HtmlControlPersistable.cs
- EntityWrapper.cs
- MenuItem.cs
- WriteTimeStream.cs
- ValidatorCollection.cs
- SqlProfileProvider.cs
- TypeSemantics.cs
- X509ChainElement.cs
- BamlCollectionHolder.cs
- DSACryptoServiceProvider.cs
- ErrorView.xaml.cs
- SmtpReplyReader.cs
- SyndicationDeserializer.cs
- SparseMemoryStream.cs
- ConfigurationException.cs
- GeneralTransform3DCollection.cs
- RandomNumberGenerator.cs
- IdentityReference.cs
- ManagementException.cs
- Geometry.cs
- TemplatedAdorner.cs
- DataRelation.cs
- StorageComplexTypeMapping.cs
- CodeNamespace.cs
- VisualCollection.cs
- PageSettings.cs
- BinaryConverter.cs
- RuntimeConfigurationRecord.cs
- EndOfStreamException.cs
- DbConnectionPoolIdentity.cs
- XmlSchemaSimpleContentExtension.cs
- SamlEvidence.cs
- PackageProperties.cs
- HeaderedContentControl.cs