49 references to NativeMethods
System.Transactions (49)
System\Transactions\Oletx\DTCTransactionManager.cs (1)
79
if (
NativeMethods
.XACT_E_NOTSUPPORTED == ex.ErrorCode )
System\Transactions\Oletx\OletxEnlistment.cs (16)
513
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
514
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
598
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
599
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
993
int hrResult =
NativeMethods
.S_OK;
1074
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
1075
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
1091
else if (
NativeMethods
.XACT_E_PROTOCOL == ex.ErrorCode )
1194
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
1195
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
1258
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
1259
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
1334
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
1335
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
1415
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
1416
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
System\Transactions\Oletx\OletxResourceManager.cs (12)
117
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
118
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
141
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == comEx.ErrorCode ) ||
142
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == comEx.ErrorCode )
202
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
203
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
216
else if (
NativeMethods
.XACT_E_RECOVERYALREADYDONE != ex.ErrorCode )
390
if (
NativeMethods
.XACT_E_TOOMANY_ENLISTMENTS == comException.ErrorCode )
493
throw new COMException( SR.GetString( SR.DtcTransactionManagerUnavailable ),
NativeMethods
.XACT_E_CONNECTION_DOWN );
520
if (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode )
809
if (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode )
816
if (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode )
System\Transactions\Oletx\OleTxTransaction.cs (4)
1227
if ( (
NativeMethods
.XACT_E_ABORTED == comException.ErrorCode ) ||
1228
(
NativeMethods
.XACT_E_INDOUBT == comException.ErrorCode )
1239
else if (
NativeMethods
.XACT_E_ALREADYINPROGRESS == comException.ErrorCode )
1320
if (
NativeMethods
.XACT_E_ALREADYINPROGRESS == comException.ErrorCode )
System\Transactions\Oletx\OletxTransactionManager.cs (7)
527
Int32 error =
NativeMethods
.GetNotificationFactory(
839
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == comException.ErrorCode ) ||
840
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == comException.ErrorCode )
849
if ((
NativeMethods
.XACT_E_NETWORK_TX_DISABLED == comException.ErrorCode ))
858
else if ( (
NativeMethods
.XACT_E_FIRST <= comException.ErrorCode ) &&
859
(
NativeMethods
.XACT_E_LAST >= comException.ErrorCode ) )
862
if (
NativeMethods
.XACT_E_NOTRANSACTION == comException.ErrorCode )
System\Transactions\Oletx\OletxVolatileEnlistment.cs (7)
288
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
289
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
305
else if (
NativeMethods
.XACT_E_PROTOCOL == ex.ErrorCode )
735
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
736
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
868
if ( (
NativeMethods
.XACT_E_CONNECTION_DOWN == ex.ErrorCode ) ||
869
(
NativeMethods
.XACT_E_TMNOTAVAILABLE == ex.ErrorCode )
System\Transactions\TransactionInterop.cs (1)
609
if ( Oletx.
NativeMethods
.XACT_E_NOTRANSACTION != ex.ErrorCode )
System\Transactions\TransactionScope.cs (1)
1271
if ( System.Transactions.Oletx.
NativeMethods
.XACT_E_NOTRANSACTION == e.ErrorCode )