Share via


ICustomProvider.EndTransaction Method

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)

Usage

'Usage
Dim instance As ICustomProvider
Dim transactionContext As Object
Dim rollback As Boolean

instance.EndTransaction(transactionContext, rollback)

Syntax

'Declaration
Sub EndTransaction ( _
    transactionContext As Object, _
    rollback As Boolean _
)
void EndTransaction (
    Object transactionContext,
    bool rollback
)
void EndTransaction (
    Object^ transactionContext, 
    bool rollback
)
void EndTransaction (
    Object transactionContext, 
    boolean rollback
)
function EndTransaction (
    transactionContext : Object, 
    rollback : boolean
)

Parameters

  • transactionContext
    An object that represents the transaction context. This object is returned from the BeginTransaction method.
  • rollback
    If true, the transaction should be rolled back. If false, the transaction should be committed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

ICustomProvider Interface
ICustomProvider Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26