Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ObjectFactoryCodeDomTreeGenerator.cs
- FixedSOMContainer.cs
- PageThemeBuildProvider.cs
- AsynchronousChannelMergeEnumerator.cs
- Nodes.cs
- precedingsibling.cs
- TextModifierScope.cs
- DynamicActionMessageFilter.cs
- AuthenticationException.cs
- SystemIPInterfaceProperties.cs
- OleDbCommand.cs
- ContractBase.cs
- AdornedElementPlaceholder.cs
- HtmlTable.cs
- GeneratedContractType.cs
- AppDomainShutdownMonitor.cs
- DesignerEditorPartChrome.cs
- XmlTypeMapping.cs
- TableRow.cs
- WebPartConnectionsConnectVerb.cs
- CopyCodeAction.cs
- _FtpDataStream.cs
- Rules.cs
- EllipseGeometry.cs
- ServerType.cs
- DoubleCollection.cs
- Margins.cs
- SystemInformation.cs
- PathParser.cs
- Win32.cs
- Stroke2.cs
- NonVisualControlAttribute.cs
- DrawingState.cs
- ViewGenResults.cs
- Guid.cs
- DataTable.cs
- XmlSchemaObjectTable.cs
- DefaultEvaluationContext.cs
- ValueSerializerAttribute.cs
- Vector3DConverter.cs
- UTF8Encoding.cs
- DataChangedEventManager.cs
- EmptyImpersonationContext.cs
- FactoryMaker.cs
- CqlLexerHelpers.cs
- DataListItem.cs
- XPathArrayIterator.cs
- ByeMessageCD1.cs
- LinearKeyFrames.cs
- DynamicPropertyHolder.cs
- TemplateControlBuildProvider.cs
- ParsedAttributeCollection.cs
- precedingquery.cs
- ItemCheckedEvent.cs
- Condition.cs
- NGCUIElementCollectionSerializerAsync.cs
- TreeWalkHelper.cs
- pingexception.cs
- StartFileNameEditor.cs
- AllMembershipCondition.cs
- AlternateView.cs
- ObjectDisposedException.cs
- ValidatorCollection.cs
- TimeSpan.cs
- WebPartCatalogCloseVerb.cs
- SpeechAudioFormatInfo.cs
- DrawListViewSubItemEventArgs.cs
- ElementAction.cs
- InvalidTimeZoneException.cs
- StructureChangedEventArgs.cs
- UIElementCollection.cs
- DataKey.cs
- DataStorage.cs
- InputManager.cs
- StorageSetMapping.cs
- FontCollection.cs
- LineGeometry.cs
- WorkflowViewManager.cs
- DrawingBrush.cs
- Point4D.cs
- ElementMarkupObject.cs
- PtsContext.cs
- sqlser.cs
- DataGridCaption.cs
- ToolStripControlHost.cs
- VideoDrawing.cs
- RotateTransform.cs
- FloatUtil.cs
- EditorAttribute.cs
- TextChange.cs
- TypeDescriptionProvider.cs
- GenericWebPart.cs
- DeleteIndexBinder.cs
- DataGridCell.cs
- XmlnsCache.cs
- ToolStripItemRenderEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- TabControlCancelEvent.cs
- SHA384Managed.cs
- Cursor.cs