ICustomProvider.EndTransaction Method (Object, Boolean)

 

Commits or rollbacks a transaction previously started with the BeginTransaction method.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Syntax

void EndTransaction(
    object transactionContext,
    bool rollback
)
void EndTransaction(
    Object^ transactionContext,
    bool rollback
)
abstract EndTransaction : 
        transactionContext:Object *
        rollback:bool -> unit
Sub EndTransaction (
    transactionContext As Object,
    rollback As Boolean
)

Parameters

  • transactionContext
    Type: System.Object

    An object that represents the transaction context. This object is returned from the BeginTransaction method.

  • rollback
    Type: System.Boolean

    If true, the transaction should be rolled back. If false, the transaction should be committed.

See Also

ICustomProvider Interface
Microsoft.ApplicationServer.Caching Namespace

Return to top