ITransaction.Abort(BOID, Int32, Int32) 方法

定义

中止事务。

public:
 void Abort(System::EnterpriseServices::BOID % pboidReason, int fRetaining, int fAsync);
public void Abort (ref System.EnterpriseServices.BOID pboidReason, int fRetaining, int fAsync);
abstract member Abort : BOID * int * int -> unit
Public Sub Abort (ByRef pboidReason As BOID, fRetaining As Integer, fAsync As Integer)

参数

pboidReason
BOID

一个可选的 BOID,指示事务被中止的原因。 该参数可以是 null,指示不提供任何有关中止的原因。

fRetaining
Int32

必须是 false

fAsync
Int32

fAsynctrue 时,执行异步中止并且调用方必须使用 ITransactionOutcomeEvents 了解事务的结果。

适用于