T
CSharpTest.Net
Commit<T>(Action<T>,T) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > TransactedCompoundFile Class > Commit Method : Commit<T>(Action<T>,T) Method

stageCommit
value

Glossary Item Box

For file-level transactions, performs a two-stage commit of all changed handles. After the first stage has completed, the stageCommit() delegate is invoked.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Commit(Of T)( _
   ByVal stageCommit As Action(Of T), _
   ByVal value As T _
) 
C# 
public void Commit<T>( 
   Action<T> stageCommit,
   T value
)

Parameters

stageCommit
value

Type Parameters

T

Exceptions

ExceptionDescription
System.ObjectDisposedExceptionThe exception that is thrown when an operation is performed on a disposed object.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys