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