dotConnect for SQLite Documentation
Devart.Common Namespace / DbConnectionBase Class / TransactionStateChanging Event

In This Topic
    TransactionStateChanging Event
    In This Topic
    Occurs when the state of the transaction is changing.
    Syntax
    'Declaration
     
    Public Event TransactionStateChanging As TransactionStateChangingEventHandler
    public event TransactionStateChangingEventHandler TransactionStateChanging
    Event Data

    The event handler receives an argument of type TransactionStateChangingEventArgs containing data related to this event. The following TransactionStateChangingEventArgs properties provide information specific to this event.

    PropertyDescription
    Indicates the operation that is being performed or has been performed in the transaction when the DbTransactionBase.StateChanged or DbTransactionBase.StateChanging event occurs. (Inherited from Devart.Common.TransactionStateChangeEventArgs)
    Example
    This sample demonstrates how to use the TransactionStateChanged and TransactionStateChanging events.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also