RuntimeTransactionHandle.CompleteTransaction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Completes the current run-time transaction.
Overloads
CompleteTransaction(NativeActivityContext) |
Completes the current run-time transaction. |
CompleteTransaction(NativeActivityContext, BookmarkCallback) |
Completes the current run-time transaction and schedules the bookmark callback when the transaction is complete. |
CompleteTransaction(NativeActivityContext)
Completes the current run-time transaction.
public:
void CompleteTransaction(System::Activities::NativeActivityContext ^ context);
public void CompleteTransaction (System.Activities.NativeActivityContext context);
member this.CompleteTransaction : System.Activities.NativeActivityContext -> unit
Public Sub CompleteTransaction (context As NativeActivityContext)
Parameters
- context
- NativeActivityContext
The current execution environment.
Applies to
CompleteTransaction(NativeActivityContext, BookmarkCallback)
Completes the current run-time transaction and schedules the bookmark callback when the transaction is complete.
public:
void CompleteTransaction(System::Activities::NativeActivityContext ^ context, System::Activities::BookmarkCallback ^ callback);
public void CompleteTransaction (System.Activities.NativeActivityContext context, System.Activities.BookmarkCallback callback);
member this.CompleteTransaction : System.Activities.NativeActivityContext * System.Activities.BookmarkCallback -> unit
Public Sub CompleteTransaction (context As NativeActivityContext, callback As BookmarkCallback)
Parameters
- context
- NativeActivityContext
The current execution environment.
- callback
- BookmarkCallback
The bookmark callback to be invoked when the transaction completes.