63 references to OletxHelper
System.Transactions.Local (63)
System\Transactions\DtcProxyShim\DtcProxyShimFactory.cs (4)
121OletxHelper.Retry(() => pImportWhereabouts.GetWhereaboutsSize(out whereaboutsSize)); 127OletxHelper.Retry(() => 139OletxHelper.Retry(() => 204OletxHelper.Retry(() =>
System\Transactions\DtcProxyShim\EnlistmentShim.cs (8)
20var voteHr = OletxHelper.S_OK; 29voteHr = OletxHelper.XACT_S_READONLY; 37voteHr = OletxHelper.XACT_S_SINGLEPHASE; 43voteHr = OletxHelper.S_OK; 51voteHr = OletxHelper.E_FAIL; 63voteHr = OletxHelper.E_FAIL; 78=> EnlistmentAsync!.CommitRequestDone(OletxHelper.S_OK); 81=> EnlistmentAsync!.AbortRequestDone(OletxHelper.S_OK);
System\Transactions\DtcProxyShim\Phase0Shim.cs (1)
33catch (COMException e) when (e.ErrorCode == OletxHelper.XACT_E_PROTOCOL)
System\Transactions\DtcProxyShim\ResourceManagerShim.cs (1)
52catch (COMException e) when (e.ErrorCode == OletxHelper.XACT_E_REENLISTTIMEOUT)
System\Transactions\DtcProxyShim\TransactionShim.cs (2)
46OletxHelper.Retry(() => export.Export(Transaction, out cookieSizeULong)); 52OletxHelper.Retry(() => export.GetTransactionCookie(Transaction, cookieSize, buffer, out bytesUsed));
System\Transactions\DtcProxyShim\VoterShim.cs (2)
19int voteHr = OletxHelper.S_OK; 23voteHr = OletxHelper.E_FAIL;
System\Transactions\Oletx\DtcTransactionManager.cs (1)
58if (ex.ErrorCode == OletxHelper.XACT_E_NOTSUPPORTED)
System\Transactions\Oletx\OletxEnlistment.cs (15)
419if (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 420ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 498if (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 499ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 921if ((ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 932else if (ex.ErrorCode == OletxHelper.XACT_E_PROTOCOL) 1002if (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 1003ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 1057if (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 1058ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 1115(ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 1165(ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled())
System\Transactions\Oletx\OletxResourceManager.cs (11)
94if (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 95ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 116if (comEx.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 117comEx.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 177if (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 178ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 191else if (ex.ErrorCode != OletxHelper.XACT_E_RECOVERYALREADYDONE) 317if (comException.ErrorCode == OletxHelper.XACT_E_TOOMANY_ENLISTMENTS) 373throw new COMException(SR.DtcTransactionManagerUnavailable, OletxHelper.XACT_E_CONNECTION_DOWN); 394catch (COMException ex) when (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN) 641catch (COMException ex) when (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN)
System\Transactions\Oletx\OletxTransaction.cs (4)
981if (comException.ErrorCode == OletxHelper.XACT_E_ABORTED || 982comException.ErrorCode == OletxHelper.XACT_E_INDOUBT) 992else if (comException.ErrorCode == OletxHelper.XACT_E_ALREADYINPROGRESS) 1060if (comException.ErrorCode == OletxHelper.XACT_E_ALREADYINPROGRESS)
System\Transactions\Oletx\OletxTransactionManager.cs (6)
602if (comException.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || 603comException.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 609if (comException.ErrorCode == OletxHelper.XACT_E_NETWORK_TX_DISABLED) 616if (comException.ErrorCode >= OletxHelper.XACT_E_FIRST && 617comException.ErrorCode <= OletxHelper.XACT_E_LAST) 621OletxHelper.XACT_E_NOTRANSACTION == comException.ErrorCode
System\Transactions\Oletx\OletxVolatileEnlistment.cs (7)
262if ((ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 274else if (OletxHelper.XACT_E_PROTOCOL == ex.ErrorCode) 661catch (COMException ex) when (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) 755catch (COMException ex) when (ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE)
System\Transactions\TransactionInterop.cs (1)
350catch (COMException ex) when (ex.ErrorCode == OletxHelper.XACT_E_NOTRANSACTION)