共用方式為


SqlCeTransactionInProgressException Members

Occurs when an attempt is made to modify a database while another transaction is in progress.

The following tables list the members exposed by the SqlCeTransactionInProgressException type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework SqlCeTransactionInProgressException  

Top

Public Properties

  Name Description
Public property Data  Gets a collection of key/value pairs that provide additional user-defined information about the exception.(inherited from Exception)
Public property Supported by the .NET Compact Framework Errors  Gets a collection of one or more SqlCeError objects that contain detailed information about exceptions generated by the .NET Compact Framework Data Provider for SQL Server Compact Edition.(inherited from SqlCeException)
Public property HelpLink  Gets or sets a link to the help file associated with this exception.(inherited from Exception)
Public property Supported by the .NET Compact Framework HResult  Gets the HRESULT value of the exception. This value is the same as the value of HResult for the first instance of SqlCeError in the SqlCeErrorCollection for the exception.(inherited from SqlCeException)
Public property Supported by the .NET Compact Framework InnerException  Gets the Exception instance that caused the current exception.(inherited from Exception)
Public property Supported by the .NET Compact Framework Message  Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception.(inherited from SqlCeException)
Public property Supported by the .NET Compact Framework NativeError  Gets the native error number of the first SqlCeError in the SqlCeErrorCollection. For more information about the error, see the "SQL Server Compact Edition Errors" topic in the Troubleshooting section of SQL Server Compact Edition Books Online.(inherited from SqlCeException)
Public property Supported by the .NET Compact Framework Source  Gets the name of the OLE DB provider that generated the error.(inherited from SqlCeException)
Public property Supported by the .NET Compact Framework StackTrace  Gets a string representation of the frames on the call stack at the time the current exception was thrown.(inherited from Exception)
Public property TargetSite  Gets the method that throws the current exception.(inherited from Exception)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetBaseException  When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetObjectData  When overridden in a derived class, sets the SerializationInfo with information about the exception. (inherited from Exception)
Public method Supported by the .NET Compact Framework GetType  Gets the runtime type of the current instance. (inherited from Exception)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ToString  Creates and returns a string representation of the current exception. (inherited from SqlCeException)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

SqlCeTransactionInProgressException Class
System.Data.SqlServerCe Namespace