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
- StringAnimationBase.cs
- XomlCompilerHelpers.cs
- WaitHandleCannotBeOpenedException.cs
- PeerNameRegistration.cs
- APCustomTypeDescriptor.cs
- XamlBrushSerializer.cs
- XmlDataFileEditor.cs
- ListBindableAttribute.cs
- HttpCachePolicyWrapper.cs
- HostedHttpContext.cs
- HttpAsyncResult.cs
- NotImplementedException.cs
- InstanceNameConverter.cs
- ProviderCollection.cs
- FieldToken.cs
- rsa.cs
- DbResourceAllocator.cs
- OutArgument.cs
- FileDialogCustomPlace.cs
- ButtonRenderer.cs
- OciHandle.cs
- SerializationObjectManager.cs
- ArrangedElementCollection.cs
- ZipIOModeEnforcingStream.cs
- StatusBar.cs
- StoreUtilities.cs
- SmiRecordBuffer.cs
- C14NUtil.cs
- FilterableData.cs
- SupportsEventValidationAttribute.cs
- OrderingExpression.cs
- GridViewDeleteEventArgs.cs
- TextEditorSpelling.cs
- ImageAnimator.cs
- TypeExtensionSerializer.cs
- HatchBrush.cs
- FilteredXmlReader.cs
- CacheRequest.cs
- ConfigurationConverterBase.cs
- ConstructorBuilder.cs
- KeyGesture.cs
- KeyValuePairs.cs
- MetadataUtil.cs
- ProtectedConfigurationSection.cs
- StaticContext.cs
- TextServicesCompartmentEventSink.cs
- CheckBoxStandardAdapter.cs
- ProgressiveCrcCalculatingStream.cs
- RootProfilePropertySettingsCollection.cs
- PrinterUnitConvert.cs
- DataColumnChangeEvent.cs
- SecureEnvironment.cs
- MethodMessage.cs
- ColorContext.cs
- DocumentScope.cs
- _SafeNetHandles.cs
- WebAdminConfigurationHelper.cs
- ParallelTimeline.cs
- LocationReferenceEnvironment.cs
- GuidConverter.cs
- DocumentPageViewAutomationPeer.cs
- DiffuseMaterial.cs
- WorkflowItemPresenter.cs
- StructuralType.cs
- XMLSyntaxException.cs
- Util.cs
- Latin1Encoding.cs
- DSASignatureDeformatter.cs
- TaiwanLunisolarCalendar.cs
- TraceSection.cs
- DiscreteKeyFrames.cs
- TimeSpanStorage.cs
- Win32Exception.cs
- DateTimeFormatInfo.cs
- CultureInfoConverter.cs
- DecryptedHeader.cs
- BrushConverter.cs
- CodeDOMUtility.cs
- GenericUriParser.cs
- DataRowCollection.cs
- BasicExpressionVisitor.cs
- TagPrefixCollection.cs
- SplitterEvent.cs
- FastEncoder.cs
- ChangeNode.cs
- ErrorTableItemStyle.cs
- RangeValidator.cs
- RuntimeResourceSet.cs
- FontUnit.cs
- DbConnectionClosed.cs
- DataGridPagerStyle.cs
- cache.cs
- Rectangle.cs
- ImageKeyConverter.cs
- IgnoreFlushAndCloseStream.cs
- Accessible.cs
- HttpWebRequest.cs
- SamlAttributeStatement.cs
- OrderedEnumerableRowCollection.cs
- ExpressionNormalizer.cs