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