TransactionContextSelectTransactionallyTResult Method  | 
 
            Executes the provided callback within a transaction, and automatically commits the
            transaction when the callback returns. If the transaction conflicts (it raises
            a 
TransactionConflictException), the callback is executed again
            with a new transaction.  This process continues until the transaction commits
            successfully. When the transaction commits successfully, the value returned by
            the provided callback is returned by this method.
            
 
    Namespace: 
   AGI.Foundation
    Assembly:
   AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic TResult SelectTransactionally<TResult>(
	TransactionalSelectCallback<TResult> selector
)
Public Function SelectTransactionally(Of TResult) ( 
	selector As TransactionalSelectCallback(Of TResult)
) As TResult
public:
generic<typename TResult>
TResult SelectTransactionally(
	TransactionalSelectCallback<TResult>^ selector
)
member SelectTransactionally : 
        selector : TransactionalSelectCallback<'TResult> -> 'TResult 
Parameters
- selector
 - Type: AGI.FoundationTransactionalSelectCallbackTResult
The callback to execute transactionally. 
Type Parameters
- TResult
 - The return type of the callback.
 
Return Value
Type: 
TResultThe return value of the callback when executed.
See Also