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
- CallbackDebugElement.cs
- DrawingVisualDrawingContext.cs
- CachedBitmap.cs
- Token.cs
- XPathMultyIterator.cs
- DataServiceHostWrapper.cs
- RequestContext.cs
- GeneralTransform3D.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- HttpsHostedTransportConfiguration.cs
- ClientScriptManager.cs
- EventListener.cs
- WebPartManagerInternals.cs
- XmlWhitespace.cs
- TraceUtility.cs
- OpenFileDialog.cs
- Sequence.cs
- XmlQualifiedName.cs
- BitmapFrameDecode.cs
- WebFormsRootDesigner.cs
- UInt16Storage.cs
- SkipQueryOptionExpression.cs
- SubqueryRules.cs
- UidPropertyAttribute.cs
- WebPartEditorOkVerb.cs
- SafeNativeMethods.cs
- QilTypeChecker.cs
- ScalarConstant.cs
- HtmlControlPersistable.cs
- Bitmap.cs
- ElementHostAutomationPeer.cs
- SlotInfo.cs
- EditorZoneBase.cs
- ConnectionStringEditor.cs
- SqlFactory.cs
- ToolStripLabel.cs
- NameSpaceEvent.cs
- XmlSchemaChoice.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- RtfControls.cs
- MaskDescriptor.cs
- CatchDesigner.xaml.cs
- OperationInvokerBehavior.cs
- FamilyMap.cs
- XmlCustomFormatter.cs
- LZCodec.cs
- TimeoutValidationAttribute.cs
- LoginUtil.cs
- MarkupExtensionParser.cs
- FixedSOMImage.cs
- MobileComponentEditorPage.cs
- StringAnimationUsingKeyFrames.cs
- ProcessThreadCollection.cs
- WithStatement.cs
- Socket.cs
- ProcessingInstructionAction.cs
- ConfigXmlElement.cs
- HttpRequestMessageProperty.cs
- PeerNameRegistration.cs
- XmlElementElementCollection.cs
- LocatorPartList.cs
- XmlDataProvider.cs
- ConfigurationPropertyAttribute.cs
- WebBrowser.cs
- DescendentsWalkerBase.cs
- MarkupCompilePass1.cs
- XamlInt32CollectionSerializer.cs
- DataGridTableCollection.cs
- QilValidationVisitor.cs
- UrlMappingsModule.cs
- InvalidCastException.cs
- QilList.cs
- WorkflowItemsPresenter.cs
- ExpandedWrapper.cs
- DotExpr.cs
- HyperLink.cs
- KeyValueConfigurationCollection.cs
- CustomLineCap.cs
- MSG.cs
- cryptoapiTransform.cs
- Size3DValueSerializer.cs
- _BaseOverlappedAsyncResult.cs
- FontStretches.cs
- ProgressiveCrcCalculatingStream.cs
- DispatcherHookEventArgs.cs
- RegexCapture.cs
- SemanticKeyElement.cs
- ArraySubsetEnumerator.cs
- ImpersonationContext.cs
- SemanticBasicElement.cs
- Subtree.cs
- EnumValAlphaComparer.cs
- _ChunkParse.cs
- UTF8Encoding.cs
- RSATokenProvider.cs
- StateItem.cs
- SpanIndex.cs
- DesignTimeXamlWriter.cs
- BuildResultCache.cs
- FaultBookmark.cs