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
- PropertyDescriptor.cs
- ArgumentOutOfRangeException.cs
- MeshGeometry3D.cs
- PenContexts.cs
- SynchronizedRandom.cs
- ApplicationId.cs
- ProviderBase.cs
- TextElementCollection.cs
- AsyncDataRequest.cs
- CodeIterationStatement.cs
- Signature.cs
- AutomationPeer.cs
- MetadataHelper.cs
- FormsIdentity.cs
- ConfigurationValue.cs
- ConfigurationValidatorBase.cs
- ServiceBuildProvider.cs
- Debugger.cs
- Clause.cs
- ChildTable.cs
- TdsEnums.cs
- BaseProcessor.cs
- HttpResponseHeader.cs
- FrameSecurityDescriptor.cs
- StringValidator.cs
- MemberRelationshipService.cs
- FixedElement.cs
- RuleRefElement.cs
- _ConnectionGroup.cs
- MethodRental.cs
- DSGeneratorProblem.cs
- Error.cs
- FileUpload.cs
- PerformanceCounters.cs
- HitTestDrawingContextWalker.cs
- FixedSOMTextRun.cs
- FaultContext.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- XmlCharCheckingWriter.cs
- VoiceChangeEventArgs.cs
- FlowDocumentPaginator.cs
- CompilerTypeWithParams.cs
- GCHandleCookieTable.cs
- RegexTypeEditor.cs
- SoapObjectWriter.cs
- FieldNameLookup.cs
- SqlCacheDependencyDatabase.cs
- FilteredReadOnlyMetadataCollection.cs
- VerticalAlignConverter.cs
- XmlSchemaAny.cs
- InputLanguage.cs
- PerformanceCounterNameAttribute.cs
- TCPClient.cs
- DataGrid.cs
- ProfileGroupSettings.cs
- OpenTypeLayoutCache.cs
- BamlLocalizationDictionary.cs
- MimeReflector.cs
- ClientCultureInfo.cs
- DocumentOrderQuery.cs
- SafePEFileHandle.cs
- SmiEventSink_DeferedProcessing.cs
- OciHandle.cs
- SchemaImporterExtensionElement.cs
- EventProxy.cs
- XhtmlBasicTextViewAdapter.cs
- WindowsTokenRoleProvider.cs
- DataGridViewIntLinkedList.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataServiceRequestOfT.cs
- HtmlTableCellCollection.cs
- ProcessRequestArgs.cs
- ParseHttpDate.cs
- XmlDataSourceView.cs
- ConfigurationLocation.cs
- NavigationPropertyEmitter.cs
- NoPersistScope.cs
- TemplatePagerField.cs
- ISFClipboardData.cs
- TrailingSpaceComparer.cs
- ProxyWebPart.cs
- ProofTokenCryptoHandle.cs
- ElasticEase.cs
- GenericAuthenticationEventArgs.cs
- OleDbDataAdapter.cs
- TextEditorTyping.cs
- StylusPointDescription.cs
- CharacterMetricsDictionary.cs
- EntityDataSourceState.cs
- ElementProxy.cs
- PrinterSettings.cs
- CharacterBufferReference.cs
- SaveFileDialog.cs
- SignatureHelper.cs
- Baml2006Reader.cs
- UnsafeNativeMethods.cs
- CompilerGlobalScopeAttribute.cs
- GifBitmapDecoder.cs
- ValueTypeFixupInfo.cs
- assemblycache.cs