Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- XmlIgnoreAttribute.cs
- DocComment.cs
- ProfileGroupSettings.cs
- ActivityCodeDomSerializationManager.cs
- ToolStripArrowRenderEventArgs.cs
- keycontainerpermission.cs
- CodeExporter.cs
- SystemResources.cs
- TypeDescriptor.cs
- ClassData.cs
- LinqDataSourceHelper.cs
- lengthconverter.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DomNameTable.cs
- StreamUpdate.cs
- ConsoleKeyInfo.cs
- ProtocolElement.cs
- ListViewDeletedEventArgs.cs
- ServiceObjectContainer.cs
- BoolLiteral.cs
- HttpListenerContext.cs
- HierarchicalDataSourceControl.cs
- AtomicFile.cs
- ClearTypeHintValidation.cs
- AspNetSynchronizationContext.cs
- RegexCharClass.cs
- CharEnumerator.cs
- OpenTypeLayoutCache.cs
- Viewport3DVisual.cs
- InputReport.cs
- SmiContext.cs
- ConfigPathUtility.cs
- WebPartDesigner.cs
- AdministrationHelpers.cs
- WSHttpBindingCollectionElement.cs
- QueryInterceptorAttribute.cs
- DragDropManager.cs
- PerformanceCounterNameAttribute.cs
- ErrorWebPart.cs
- WebRequestModuleElementCollection.cs
- DateTimeConverter2.cs
- diagnosticsswitches.cs
- MsmqHostedTransportManager.cs
- IWorkflowDebuggerService.cs
- ReadOnlyHierarchicalDataSource.cs
- FreezableCollection.cs
- SchemaNamespaceManager.cs
- NavigationProperty.cs
- WebExceptionStatus.cs
- FeatureSupport.cs
- TimeSpanMinutesConverter.cs
- WindowsTokenRoleProvider.cs
- ClientOptions.cs
- remotingproxy.cs
- PropertyChangeTracker.cs
- ReachVisualSerializer.cs
- AssemblyCacheEntry.cs
- WorkflowDebuggerSteppingAttribute.cs
- PathFigureCollectionConverter.cs
- SimpleTableProvider.cs
- XmlCodeExporter.cs
- Translator.cs
- CacheHelper.cs
- TypeBrowserDialog.cs
- ExpressionVisitor.cs
- ProxySimple.cs
- BooleanStorage.cs
- EventMemberCodeDomSerializer.cs
- TreeViewDesigner.cs
- GACMembershipCondition.cs
- AnnotationResource.cs
- ProtocolsConfigurationHandler.cs
- QualificationDataAttribute.cs
- CachedPathData.cs
- MenuItem.cs
- HostingEnvironment.cs
- _ConnectStream.cs
- DataGridTable.cs
- StreamReader.cs
- webproxy.cs
- GotoExpression.cs
- _IPv6Address.cs
- FaultHandlingFilter.cs
- ExpressionConverter.cs
- CodeSnippetStatement.cs
- updateconfighost.cs
- EditorBrowsableAttribute.cs
- SynchronizedPool.cs
- ContainerParaClient.cs
- DependencyPropertyKey.cs
- RoamingStoreFileUtility.cs
- ComplexPropertyEntry.cs
- XmlWrappingReader.cs
- DbQueryCommandTree.cs
- ComponentResourceManager.cs
- ProfileSettingsCollection.cs
- OleDbRowUpdatingEvent.cs
- CroppedBitmap.cs
- Clipboard.cs
- SuppressMergeCheckAttribute.cs