SALES: 1-800-867-1380
EndTransaction Method

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)

void EndTransaction(
	Object^ transactionContext,
	bool rollback
)

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.

Return to top
Show:
© 2016 Microsoft