Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- AssemblyName.cs
- StringValidatorAttribute.cs
- FormDesigner.cs
- DateTimeOffsetAdapter.cs
- DateTimeValueSerializer.cs
- CheckBoxBaseAdapter.cs
- ArgumentFixer.cs
- TargetPerspective.cs
- XmlSchemaValidator.cs
- ControlLocalizer.cs
- SecurityDescriptor.cs
- TreeViewItemAutomationPeer.cs
- ProtocolsSection.cs
- ConfigurationSectionHelper.cs
- BypassElement.cs
- SigningDialog.cs
- SelectionHighlightInfo.cs
- ListViewItemSelectionChangedEvent.cs
- SymLanguageType.cs
- HttpHandlerAction.cs
- TagMapInfo.cs
- MetadataCache.cs
- VisualState.cs
- BrowserTree.cs
- TextDataBindingHandler.cs
- ExpressionBindingCollection.cs
- BypassElement.cs
- SafeWaitHandle.cs
- EndEvent.cs
- SQLDecimal.cs
- CodeTypeOfExpression.cs
- IPipelineRuntime.cs
- LocalizableResourceBuilder.cs
- COM2IPerPropertyBrowsingHandler.cs
- InteropAutomationProvider.cs
- FontStyles.cs
- PointHitTestParameters.cs
- ThreadStaticAttribute.cs
- MethodInfo.cs
- ClassImporter.cs
- OdbcFactory.cs
- StorageModelBuildProvider.cs
- ValidationErrorCollection.cs
- MediaCommands.cs
- AttributeUsageAttribute.cs
- ClockGroup.cs
- FixedSOMTable.cs
- PowerStatus.cs
- StorageEntityContainerMapping.cs
- DataRow.cs
- SqlAliaser.cs
- DBCommandBuilder.cs
- PortCache.cs
- AsyncResult.cs
- DrawingAttributesDefaultValueFactory.cs
- Point3DAnimation.cs
- FunctionParameter.cs
- Pen.cs
- CacheAxisQuery.cs
- ISAPIRuntime.cs
- TextFindEngine.cs
- BooleanAnimationBase.cs
- PingOptions.cs
- UserUseLicenseDictionaryLoader.cs
- DistinctQueryOperator.cs
- SourceFilter.cs
- ImageListStreamer.cs
- SourceLocation.cs
- ColumnHeader.cs
- __TransparentProxy.cs
- NameValueFileSectionHandler.cs
- DocumentSchemaValidator.cs
- GrammarBuilderWildcard.cs
- ClaimTypeElement.cs
- parserscommon.cs
- CommandPlan.cs
- DetailsViewDeleteEventArgs.cs
- UnmanagedHandle.cs
- PinnedBufferMemoryStream.cs
- LinqDataView.cs
- ConfigurationLocation.cs
- _WebProxyDataBuilder.cs
- ExtractCollection.cs
- CodeTypeDelegate.cs
- CodeNamespaceImport.cs
- _PooledStream.cs
- TemplatedMailWebEventProvider.cs
- DataGridViewRowStateChangedEventArgs.cs
- DataServiceHostFactory.cs
- ValidationPropertyAttribute.cs
- ServiceModelConfigurationElementCollection.cs
- FontDialog.cs
- UIHelper.cs
- XsdCachingReader.cs
- QuadraticBezierSegment.cs
- TextEvent.cs
- AutoScrollHelper.cs
- RepeatInfo.cs
- ImpersonationContext.cs
- StringCollectionMarkupSerializer.cs