Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / EntityCommandExecutionException.cs / 1 / EntityCommandExecutionException.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 CommandExecution /// /// 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 EntityCommandExecutionException : EntityException { #region Constructors ////// initializes a new instance of EntityCommandExecutionException, no message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandExecutionException() : base() { HResult = HResults.CommandExecution; } ////// initializes a new instance of EntityCommandExecutionException, with message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandExecutionException(string message) : base(message) { HResult = HResults.CommandExecution; } ////// initializes a new instance of EntityCommandExecutionException with message and an inner exception instance /// /// /// public EntityCommandExecutionException(string message, Exception innerException) : base(message, innerException) { HResult = HResults.CommandExecution; } ////// initializes a new instance EntityCommandExecutionException with a given SerializationInfo and StreamingContext /// /// /// private EntityCommandExecutionException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { HResult = HResults.CommandExecution; } #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 CommandExecution /// /// 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 EntityCommandExecutionException : EntityException { #region Constructors ////// initializes a new instance of EntityCommandExecutionException, no message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandExecutionException() : base() { HResult = HResults.CommandExecution; } ////// initializes a new instance of EntityCommandExecutionException, with message, no inner exception. Probably shouldn't /// exist, but it makes FxCop happy. /// public EntityCommandExecutionException(string message) : base(message) { HResult = HResults.CommandExecution; } ////// initializes a new instance of EntityCommandExecutionException with message and an inner exception instance /// /// /// public EntityCommandExecutionException(string message, Exception innerException) : base(message, innerException) { HResult = HResults.CommandExecution; } ////// initializes a new instance EntityCommandExecutionException with a given SerializationInfo and StreamingContext /// /// /// private EntityCommandExecutionException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { HResult = HResults.CommandExecution; } #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
- HostingEnvironmentException.cs
- DropShadowBitmapEffect.cs
- externdll.cs
- DataGridViewColumnTypeEditor.cs
- SQLMoneyStorage.cs
- SmtpException.cs
- TreeBuilderXamlTranslator.cs
- SynthesizerStateChangedEventArgs.cs
- TemplateKey.cs
- EndOfStreamException.cs
- JsonServiceDocumentSerializer.cs
- NonBatchDirectoryCompiler.cs
- FragmentQueryKB.cs
- WebBrowser.cs
- IDictionary.cs
- GeneralTransform3DCollection.cs
- MILUtilities.cs
- DateTimeFormat.cs
- ElementHost.cs
- GridViewRowCollection.cs
- SoapHeaders.cs
- LifetimeServices.cs
- SqlParameter.cs
- ViewCellRelation.cs
- TempFiles.cs
- TextTreeDeleteContentUndoUnit.cs
- BamlRecordWriter.cs
- QilTernary.cs
- CompositeDuplexElement.cs
- InsufficientMemoryException.cs
- SafeLocalMemHandle.cs
- HtmlElementEventArgs.cs
- ClientSponsor.cs
- FontStretches.cs
- ipaddressinformationcollection.cs
- Pkcs9Attribute.cs
- ExtensionFile.cs
- Point4D.cs
- PaginationProgressEventArgs.cs
- PropertyGeneratedEventArgs.cs
- CharacterString.cs
- TextEditorParagraphs.cs
- FileInfo.cs
- ThemeDirectoryCompiler.cs
- SqlNodeAnnotations.cs
- HGlobalSafeHandle.cs
- Switch.cs
- FontSourceCollection.cs
- DynamicHyperLink.cs
- ProfilePropertyMetadata.cs
- TemplateInstanceAttribute.cs
- UncommonField.cs
- EdmComplexPropertyAttribute.cs
- Error.cs
- XamlStyleSerializer.cs
- ReliableReplySessionChannel.cs
- WorkflowServiceAttributesTypeConverter.cs
- Rectangle.cs
- RegexMatchCollection.cs
- SqlDataSourceStatusEventArgs.cs
- TdsParserStateObject.cs
- EarlyBoundInfo.cs
- AssemblyBuilder.cs
- Compilation.cs
- ScrollContentPresenter.cs
- HtmlSelect.cs
- MatrixIndependentAnimationStorage.cs
- OleDbStruct.cs
- LinqDataSource.cs
- RuleSettings.cs
- WebConfigManager.cs
- DataServiceKeyAttribute.cs
- DesignerTextBoxAdapter.cs
- CancellationHandlerDesigner.cs
- ObjectDataSourceFilteringEventArgs.cs
- DocobjHost.cs
- Converter.cs
- BezierSegment.cs
- NotificationContext.cs
- ThrowHelper.cs
- VersionedStream.cs
- Vector3DCollection.cs
- TranslateTransform.cs
- SimpleType.cs
- XmlValidatingReaderImpl.cs
- COM2IPerPropertyBrowsingHandler.cs
- WorkflowOwnerAsyncResult.cs
- WorkflowDefinitionDispenser.cs
- HtmlShimManager.cs
- BitVector32.cs
- RegexWorker.cs
- IPAddress.cs
- CodeAttributeDeclarationCollection.cs
- ManagementObjectSearcher.cs
- ProtocolElementCollection.cs
- PeerContact.cs
- MenuAutomationPeer.cs
- DocumentOrderComparer.cs
- NameSpaceExtractor.cs
- ContextInformation.cs