Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- DeclarationUpdate.cs
- HtmlInputFile.cs
- HostedHttpTransportManager.cs
- ASCIIEncoding.cs
- GeneralTransform3DGroup.cs
- ColorEditor.cs
- Util.cs
- Util.cs
- FixedDSBuilder.cs
- ReaderWriterLockWrapper.cs
- DynamicMetaObject.cs
- CanExecuteRoutedEventArgs.cs
- TypeAccessException.cs
- TextCollapsingProperties.cs
- FilterQuery.cs
- basecomparevalidator.cs
- SimpleHandlerBuildProvider.cs
- DataControlButton.cs
- OwnerDrawPropertyBag.cs
- InvalidOperationException.cs
- ComponentEvent.cs
- CapiSafeHandles.cs
- COM2AboutBoxPropertyDescriptor.cs
- ExtenderProvidedPropertyAttribute.cs
- HTMLTextWriter.cs
- Timeline.cs
- ComplexType.cs
- BooleanExpr.cs
- XmlSerializer.cs
- TemplateModeChangedEventArgs.cs
- X509Chain.cs
- RankException.cs
- ComponentChangedEvent.cs
- UnsafeNativeMethods.cs
- VerticalAlignConverter.cs
- WSSecurityJan2004.cs
- ToolBarOverflowPanel.cs
- Focus.cs
- ListBox.cs
- GridLengthConverter.cs
- TimeSpanMinutesConverter.cs
- TransformGroup.cs
- GetReadStreamResult.cs
- AuthenticatedStream.cs
- XmlSerializer.cs
- SoapEnvelopeProcessingElement.cs
- FieldTemplateFactory.cs
- _OSSOCK.cs
- DependencyPropertyKey.cs
- BitmapCodecInfo.cs
- SafeArrayRankMismatchException.cs
- RemotingConfiguration.cs
- FileDataSource.cs
- Accessors.cs
- MediaEntryAttribute.cs
- FormatterConverter.cs
- ExpressionParser.cs
- SubMenuStyleCollection.cs
- CharConverter.cs
- PackUriHelper.cs
- Events.cs
- PersonalizationAdministration.cs
- FormsAuthenticationUserCollection.cs
- GPPOINTF.cs
- WCFBuildProvider.cs
- WSHttpBindingCollectionElement.cs
- CodeExpressionCollection.cs
- HtmlPageAdapter.cs
- FaultContext.cs
- ChtmlFormAdapter.cs
- SegmentTree.cs
- SymbolMethod.cs
- BufferBuilder.cs
- CorrelationResolver.cs
- ScriptControl.cs
- ModifierKeysConverter.cs
- Msec.cs
- MultiTrigger.cs
- SqlException.cs
- FrameSecurityDescriptor.cs
- AuthenticationServiceManager.cs
- OleDbConnectionInternal.cs
- TextElementAutomationPeer.cs
- DrawingDrawingContext.cs
- TypeElement.cs
- BufferedReadStream.cs
- IWorkflowDebuggerService.cs
- RC2CryptoServiceProvider.cs
- XpsS0ValidatingLoader.cs
- SHA1CryptoServiceProvider.cs
- CharConverter.cs
- MultiBindingExpression.cs
- ParallelRangeManager.cs
- configsystem.cs
- GlyphShapingProperties.cs
- ImageResources.Designer.cs
- AdornerPresentationContext.cs
- TargetFrameworkUtil.cs
- Add.cs
- _ServiceNameStore.cs