Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / EntityCommandCompilationException.cs / 1 / EntityCommandCompilationException.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 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 [....] //--------------------------------------------------------------------- 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
- Vector3DKeyFrameCollection.cs
- VectorCollectionValueSerializer.cs
- TypefaceCollection.cs
- SystemNetworkInterface.cs
- GridViewRowCollection.cs
- Constraint.cs
- TextSimpleMarkerProperties.cs
- TableRow.cs
- XmlSchemaValidator.cs
- Graphics.cs
- TypeInfo.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XamlReaderConstants.cs
- ProvideValueServiceProvider.cs
- ParameterCollection.cs
- DataKey.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DefaultIfEmptyQueryOperator.cs
- BaseResourcesBuildProvider.cs
- ListViewCancelEventArgs.cs
- ListControl.cs
- Int16Converter.cs
- ObjectDataSourceChooseMethodsPanel.cs
- TypeSystemProvider.cs
- SQLResource.cs
- FilterableAttribute.cs
- MissingManifestResourceException.cs
- TypefaceMetricsCache.cs
- webproxy.cs
- SystemInfo.cs
- ServiceDescriptionImporter.cs
- RSAPKCS1SignatureFormatter.cs
- SuppressMergeCheckAttribute.cs
- SyndicationSerializer.cs
- DbgCompiler.cs
- BooleanExpr.cs
- Point3DCollectionValueSerializer.cs
- BadImageFormatException.cs
- SecurityContext.cs
- DiscreteKeyFrames.cs
- DiscoveryDocument.cs
- ReliableReplySessionChannel.cs
- QueryRelOp.cs
- TypeUsageBuilder.cs
- CounterCreationData.cs
- SystemResourceHost.cs
- DataGridViewCellPaintingEventArgs.cs
- ObjectView.cs
- Cell.cs
- FixedNode.cs
- SqlClientFactory.cs
- OleAutBinder.cs
- OleAutBinder.cs
- TableLayoutSettingsTypeConverter.cs
- keycontainerpermission.cs
- ComponentChangingEvent.cs
- StickyNote.cs
- SymmetricAlgorithm.cs
- RepeatInfo.cs
- AxisAngleRotation3D.cs
- CompiledAction.cs
- OrderByBuilder.cs
- SqlCacheDependency.cs
- ContextStaticAttribute.cs
- XmlSchemaValidator.cs
- WebPartActionVerb.cs
- TypeConverterHelper.cs
- TypeConstant.cs
- SqlDeflator.cs
- Tracer.cs
- DropShadowEffect.cs
- PartialCachingAttribute.cs
- DLinqAssociationProvider.cs
- GroupAggregateExpr.cs
- NameValueCollection.cs
- PrimaryKeyTypeConverter.cs
- ReadOnlyActivityGlyph.cs
- QueryContext.cs
- IntSecurity.cs
- ByValueEqualityComparer.cs
- Int32RectConverter.cs
- CorrelationRequestContext.cs
- NonDualMessageSecurityOverHttpElement.cs
- CommandCollectionEditor.cs
- SnapLine.cs
- ResourceReferenceKeyNotFoundException.cs
- SystemColors.cs
- TimeoutValidationAttribute.cs
- SamlAttributeStatement.cs
- LiteralControl.cs
- VersionedStreamOwner.cs
- FormViewDesigner.cs
- AnnotationAuthorChangedEventArgs.cs
- StringConverter.cs
- EmptyControlCollection.cs
- PolyBezierSegment.cs
- MenuItem.cs
- coordinatorscratchpad.cs
- SqlReferenceCollection.cs
- RequestCachingSection.cs