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
- CustomTypeDescriptor.cs
- Vector3DConverter.cs
- ClockGroup.cs
- SetStateEventArgs.cs
- FontStyle.cs
- TdsValueSetter.cs
- XPathScanner.cs
- WorkflowViewElement.cs
- LayoutTableCell.cs
- DrawingGroupDrawingContext.cs
- PropertyTabAttribute.cs
- IsolatedStorageFilePermission.cs
- EditingContext.cs
- SymbolType.cs
- WebPartTransformerCollection.cs
- SingleAnimation.cs
- ViewStateModeByIdAttribute.cs
- RecordBuilder.cs
- KeyEventArgs.cs
- SelectionEditor.cs
- XmlWellformedWriter.cs
- MenuItem.cs
- UriSchemeKeyedCollection.cs
- GlobalProxySelection.cs
- RoleServiceManager.cs
- AudioFormatConverter.cs
- FullTrustAssembly.cs
- PhysicalOps.cs
- PieceDirectory.cs
- OptimizedTemplateContent.cs
- InvokeFunc.cs
- DefaultHttpHandler.cs
- DataControlLinkButton.cs
- Stack.cs
- PropertyTab.cs
- X509ChainElement.cs
- DynamicResourceExtensionConverter.cs
- Brush.cs
- PipelineModuleStepContainer.cs
- TableLayoutColumnStyleCollection.cs
- AuthorizationSection.cs
- PrintDialogDesigner.cs
- ApplicationActivator.cs
- GlyphInfoList.cs
- HttpCapabilitiesSectionHandler.cs
- VisualStateChangedEventArgs.cs
- XmlSchemaValidator.cs
- XsltException.cs
- Property.cs
- EdmProviderManifest.cs
- XsltException.cs
- Utilities.cs
- OdbcConnectionOpen.cs
- IMembershipProvider.cs
- WindowsComboBox.cs
- ColorAnimation.cs
- HtmlInputSubmit.cs
- Point4DValueSerializer.cs
- IdnMapping.cs
- ValueTable.cs
- SoapAttributeAttribute.cs
- wgx_exports.cs
- ExpressionBuilder.cs
- SqlConnectionString.cs
- OdbcInfoMessageEvent.cs
- Types.cs
- ImagingCache.cs
- EditBehavior.cs
- ConfigurationManagerInternalFactory.cs
- HitTestParameters.cs
- JournalEntryListConverter.cs
- MD5HashHelper.cs
- UnsafeNativeMethods.cs
- TransformationRules.cs
- XmlNullResolver.cs
- ScriptControl.cs
- TrackingProfileSerializer.cs
- EventToken.cs
- MemoryFailPoint.cs
- ImportFileRequest.cs
- PackageDigitalSignatureManager.cs
- XmlStreamNodeWriter.cs
- XmlEncodedRawTextWriter.cs
- COM2PropertyDescriptor.cs
- SqlDataSourceConfigureFilterForm.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- PropertyGroupDescription.cs
- Animatable.cs
- WebEvents.cs
- CanonicalXml.cs
- SqlBuilder.cs
- PackagingUtilities.cs
- StyleTypedPropertyAttribute.cs
- WebBrowserNavigatingEventHandler.cs
- ActiveXContainer.cs
- DependencyPropertyAttribute.cs
- EnumType.cs
- SqlDataSourceConfigureSortForm.cs
- DataGridHeaderBorder.cs
- Rule.cs