Language:
Discover
By Skill Level
By Category

FScopedTransaction

Choose your OS:

Syntax

class FScopedTransaction

Remarks

Delineates a transactable block; Begin() s a transaction when entering scope, and End() s a transaction when leaving scope.

Constructors

Name Description

Public function

FScopedTransaction

(
    const FText & SessionName,
    const bool bShouldActuallyTransact
)

Construct an FScopedTransaction with minimal context

Public function

FScopedTransaction

(
    const TCHAR * TransactionContex...,
    const FText & SessionName,
    UObject * PrimaryObject,
    const bool bShouldActuallyTransact
)

Construct an FScopedTransaction with full context

Destructors

Name Description

Public function

~FScopedTransaction()

Functions

Name Description

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

Cancel()

Cancels the transaction. Reentrant.

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

IsOutstanding()

True if the transaction is still outstanding (that is, has not been canceled).

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/ScopedTransaction.h