RuntimeTransactionHandle.CompleteTransaction 方法

定义

完成当前的运行时事务。

重载

CompleteTransaction(NativeActivityContext)

完成当前的运行时事务。

CompleteTransaction(NativeActivityContext, BookmarkCallback)

完成当前的运行时事务并在事务完成时安排书签回调。

CompleteTransaction(NativeActivityContext)

完成当前的运行时事务。

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)

参数

context
NativeActivityContext

当前的执行环境。

适用于

CompleteTransaction(NativeActivityContext, BookmarkCallback)

完成当前的运行时事务并在事务完成时安排书签回调。

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)

参数

context
NativeActivityContext

当前的执行环境。

callback
BookmarkCallback

完成事务时要调用的书签回调。

适用于