IDtcTransaction.Abort(IntPtr, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
中止交易。
public:
void Abort(IntPtr reason, int retaining, int async);
public void Abort(IntPtr reason, int retaining, int async);
abstract member Abort : nativeint * int * int -> unit
Public Sub Abort (reason As IntPtr, retaining As Integer, async As Integer)
參數
- retaining
- Int32
此值必須為 false。
- async
- Int32
當 async 時 true,會執行非同步中止,呼叫者必須用 來 ITransactionOutcomeEvents 了解交易結果。
備註
你不應該實作這個介面的任何方法,因為它僅由TransactionInterop類別內部用來表示命名空間介面的非受管版本ITransactionSystem.EnterpriseServices。