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
- ButtonDesigner.cs
- XmlMemberMapping.cs
- WizardPanel.cs
- IdentityValidationException.cs
- Span.cs
- ThreadPool.cs
- WebPartConnectionsCloseVerb.cs
- PagesChangedEventArgs.cs
- WindowsTreeView.cs
- DataSourceControlBuilder.cs
- Model3DGroup.cs
- LateBoundBitmapDecoder.cs
- LinqDataSourceDisposeEventArgs.cs
- SqlDataSourceDesigner.cs
- ServiceBusyException.cs
- DiscoveryCallbackBehavior.cs
- counter.cs
- IResourceProvider.cs
- QueryTreeBuilder.cs
- TCPClient.cs
- ServiceNameCollection.cs
- WindowsFormsLinkLabel.cs
- FilterException.cs
- StylusPoint.cs
- OneToOneMappingSerializer.cs
- InkPresenter.cs
- DecoratedNameAttribute.cs
- HttpCookieCollection.cs
- DesignerVerbCollection.cs
- ScriptRegistrationManager.cs
- FlowDocumentView.cs
- SchemaTableOptionalColumn.cs
- CompoundFileStreamReference.cs
- XmlArrayItemAttribute.cs
- DockAndAnchorLayout.cs
- ComboBoxRenderer.cs
- AutoGeneratedFieldProperties.cs
- XmlSchemaCollection.cs
- ConfigXmlElement.cs
- CompilationSection.cs
- COSERVERINFO.cs
- ProfilePropertyNameValidator.cs
- DiscriminatorMap.cs
- GlobalProxySelection.cs
- FontNamesConverter.cs
- MarkupExtensionParser.cs
- Messages.cs
- DiscoveryEndpointValidator.cs
- ToolStripSystemRenderer.cs
- PropertyManager.cs
- BackStopAuthenticationModule.cs
- XmlSchemaSimpleContentExtension.cs
- HttpResponseWrapper.cs
- PathParser.cs
- DependencySource.cs
- XmlAttributeOverrides.cs
- MatrixStack.cs
- AssociationType.cs
- RemotingException.cs
- MetadataWorkspace.cs
- QueryStoreStatusRequest.cs
- SqlGatherProducedAliases.cs
- LightweightCodeGenerator.cs
- _ShellExpression.cs
- ProcessInfo.cs
- LicenseProviderAttribute.cs
- JavaScriptString.cs
- AnnotationAdorner.cs
- EventWaitHandleSecurity.cs
- SourceSwitch.cs
- InstancePersistenceContext.cs
- NegotiationTokenProvider.cs
- ActivityMarkupSerializer.cs
- PointConverter.cs
- ComponentEditorPage.cs
- UnionCodeGroup.cs
- ProfileEventArgs.cs
- SecurityPolicySection.cs
- XmlSchemaImporter.cs
- ToolStripOverflow.cs
- listitem.cs
- AssemblyName.cs
- Style.cs
- EdmFunctions.cs
- SafeCryptContextHandle.cs
- CacheSection.cs
- QueryResults.cs
- XmlSchemaExternal.cs
- DbDataReader.cs
- BaseDataBoundControl.cs
- GPPOINT.cs
- TextLine.cs
- SelectedCellsChangedEventArgs.cs
- ByteStream.cs
- XmlCharCheckingWriter.cs
- GridViewColumnHeaderAutomationPeer.cs
- DefaultTextStoreTextComposition.cs
- StateChangeEvent.cs
- GlobalizationSection.cs
- NullableIntMinMaxAggregationOperator.cs