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
- Rule.cs
- ProjectionCamera.cs
- Rect3DValueSerializer.cs
- SamlDelegatingWriter.cs
- RoutedEventValueSerializer.cs
- Int16Animation.cs
- CompleteWizardStep.cs
- WindowsListView.cs
- SafeNativeMethods.cs
- RoleGroupCollection.cs
- InlineUIContainer.cs
- QilReference.cs
- HashCodeCombiner.cs
- DataGridView.cs
- TextViewBase.cs
- CreatingCookieEventArgs.cs
- DataErrorValidationRule.cs
- WebBrowserContainer.cs
- CLSCompliantAttribute.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- ObjectDataSourceEventArgs.cs
- TextEndOfLine.cs
- EntityDataSourceDataSelection.cs
- TypeDependencyAttribute.cs
- AutoGeneratedField.cs
- MonthChangedEventArgs.cs
- DBParameter.cs
- ListViewDeletedEventArgs.cs
- XmlProcessingInstruction.cs
- SafeLibraryHandle.cs
- DriveInfo.cs
- TableLayoutStyle.cs
- IdleTimeoutMonitor.cs
- SmuggledIUnknown.cs
- TextBoxBaseDesigner.cs
- InvalidateEvent.cs
- SqlParameterizer.cs
- SelectedDatesCollection.cs
- base64Transforms.cs
- StyleTypedPropertyAttribute.cs
- LookupBindingPropertiesAttribute.cs
- ConnectionsZoneAutoFormat.cs
- KeyedHashAlgorithm.cs
- mactripleDES.cs
- LoginCancelEventArgs.cs
- TextServicesCompartmentContext.cs
- TypeDescriptionProvider.cs
- BindingElementExtensionElement.cs
- TreeBuilderBamlTranslator.cs
- TemplateNameScope.cs
- NavigationPropertyEmitter.cs
- Int64AnimationUsingKeyFrames.cs
- RoleManagerEventArgs.cs
- log.cs
- RenderContext.cs
- FilterElement.cs
- SectionRecord.cs
- PerformanceCounterCategory.cs
- PlainXmlDeserializer.cs
- MailWriter.cs
- ImageCodecInfoPrivate.cs
- TextElementEnumerator.cs
- XdrBuilder.cs
- DrawingGroupDrawingContext.cs
- DesignTimeTemplateParser.cs
- TransformerTypeCollection.cs
- ColorConvertedBitmapExtension.cs
- DataBindingHandlerAttribute.cs
- XamlPathDataSerializer.cs
- ClipboardProcessor.cs
- Style.cs
- ListBox.cs
- AnnotationAuthorChangedEventArgs.cs
- XsdDateTime.cs
- TableStyle.cs
- SwitchLevelAttribute.cs
- PreservationFileReader.cs
- VectorValueSerializer.cs
- DesignerSerializationVisibilityAttribute.cs
- NativeMethods.cs
- Utils.cs
- __FastResourceComparer.cs
- ValueSerializerAttribute.cs
- BitmapCache.cs
- XmlHierarchyData.cs
- SqlCaseSimplifier.cs
- MultitargetingHelpers.cs
- StdValidatorsAndConverters.cs
- ObjectAnimationBase.cs
- _AutoWebProxyScriptEngine.cs
- ExceptionHandlerDesigner.cs
- TCPListener.cs
- AssemblyBuilder.cs
- PaginationProgressEventArgs.cs
- NodeFunctions.cs
- TraceSwitch.cs
- BaseInfoTable.cs
- MemberHolder.cs
- CommandID.cs
- _SSPIWrapper.cs