Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityCommandCompilationException.cs / 1305376 / EntityCommandCompilationException.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 CommandCompilation /// /// 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 EntityCommandCompilationException : EntityException { #region Constructors ////// initializes a new instance of EntityCommandCompilationException, no message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandCompilationException() : base() { HResult = HResults.CommandCompilation; } ////// initializes a new instance of EntityCommandCompilationException, with message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandCompilationException(string message) : base(message) { HResult = HResults.CommandCompilation; } ////// initializes a new instance of EntityCommandCompilationException with message and an inner exception instance /// /// /// public EntityCommandCompilationException(string message, Exception innerException) : base(message, innerException) { HResult = HResults.CommandCompilation; } ////// initializes a new instance EntityCommandCompilationException with a given SerializationInfo and StreamingContext /// /// /// private EntityCommandCompilationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { HResult = HResults.CommandCompilation; } #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
- SizeAnimationClockResource.cs
- NetworkAddressChange.cs
- Membership.cs
- StringFunctions.cs
- Attribute.cs
- BamlResourceSerializer.cs
- WebBrowserNavigatingEventHandler.cs
- EntityDataReader.cs
- Transform3D.cs
- SqlXml.cs
- StringPropertyBuilder.cs
- MulticastOption.cs
- AudioLevelUpdatedEventArgs.cs
- ModifiableIteratorCollection.cs
- MessageSmuggler.cs
- ReadContentAsBinaryHelper.cs
- PrePrepareMethodAttribute.cs
- LayoutEngine.cs
- SourceItem.cs
- MetadataFile.cs
- CodeTypeReferenceCollection.cs
- x509utils.cs
- NamespaceEmitter.cs
- TouchDevice.cs
- DATA_BLOB.cs
- CodeSubDirectoriesCollection.cs
- IssuanceLicense.cs
- CatalogPartDesigner.cs
- TextEditor.cs
- CustomCredentialPolicy.cs
- TypeBuilder.cs
- SpoolingTaskBase.cs
- X509IssuerSerialKeyIdentifierClause.cs
- JavaScriptString.cs
- ConfigurationElementProperty.cs
- TreeNodeCollection.cs
- AppDomainFactory.cs
- CacheModeConverter.cs
- DataListDesigner.cs
- PrintingPermission.cs
- SystemUdpStatistics.cs
- SamlAuthenticationStatement.cs
- ScopedKnownTypes.cs
- ServiceDescriptionImporter.cs
- MembershipValidatePasswordEventArgs.cs
- GroupPartitionExpr.cs
- MsmqProcessProtocolHandler.cs
- Brush.cs
- MsmqAuthenticationMode.cs
- PropertyGridView.cs
- ClientFormsIdentity.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ClickablePoint.cs
- XmlNamespaceManager.cs
- GlyphElement.cs
- _HelperAsyncResults.cs
- SessionIDManager.cs
- SessionPageStateSection.cs
- PenThreadWorker.cs
- Executor.cs
- ByteAnimationBase.cs
- TypeConverterValueSerializer.cs
- AuthenticatedStream.cs
- Ticks.cs
- SafePEFileHandle.cs
- RectangleGeometry.cs
- AsyncOperation.cs
- Process.cs
- ListViewInsertEventArgs.cs
- Path.cs
- RightsManagementPermission.cs
- SQLSingleStorage.cs
- CommunicationException.cs
- LinkedResourceCollection.cs
- GlyphingCache.cs
- MatrixCamera.cs
- ContourSegment.cs
- GPStream.cs
- RepeatBehaviorConverter.cs
- ADMembershipProvider.cs
- TerminatorSinks.cs
- GeometryModel3D.cs
- ChannelSinkStacks.cs
- IpcPort.cs
- CommandLibraryHelper.cs
- WindowsSlider.cs
- CodeObject.cs
- SendKeys.cs
- XmlILOptimizerVisitor.cs
- IISUnsafeMethods.cs
- MessageQueuePermission.cs
- ComboBox.cs
- Table.cs
- DataKey.cs
- CodeDomSerializationProvider.cs
- TextProperties.cs
- TypeUsageBuilder.cs
- SecurityTokenAttachmentMode.cs
- linebase.cs
- TypeUtils.cs