Begins an attempt to commit the transaction asynchronously.
Assembly: System.Transactions (in System.Transactions.dll)
- Type: System.AsyncCallback
The AsyncCallback delegate that is invoked when the transaction completes. This parameter can be a null reference (Nothing in Visual Basic), in which case the application is not notified of the transaction's completion. Instead, the application must use the IAsyncResult interface to check for completion and wait accordingly, or call EndCommit to wait for completion.
This method returns immediately, before the transaction has been completed. The transaction then commits on a different thread, and the asyncCallback delegate is invoked when it has completed. After this method is called, you do not receive the outcome of the transaction until you call EndCommit.
The commit process may complete synchronously inside this method call.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.