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
時,會執行非同步 (Asynchronous) 中止,並且呼叫端必須使用 ITransactionOutcomeEvents
來得知交易的結果。