ITransaction.Abort(BOID, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
終止交易。
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)
參數
- fRetaining
- Int32
必須是 false。
- fAsync
- Int32
當 fAsync 時 true,會執行非同步中止,呼叫者必須用 來 ITransactionOutcomeEvents 了解交易結果。