129 references to TransactionStatus
System.Activities (6)
System\Activities\Runtime\ActivityExecutor.cs (6)
1112
localRuntimeTransaction.TransactionStatus =
TransactionStatus
.Committed;
1191
localRuntimeTransaction.TransactionStatus =
TransactionStatus
.Aborted;
4140
TransactionStatus
status = this.runtimeTransaction.TransactionStatus;
4142
if (status ==
TransactionStatus
.Active)
4377
this.TransactionStatus =
TransactionStatus
.Active;
4404
public
TransactionStatus
TransactionStatus
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\InstanceLockTracking.cs (2)
72
if (e.Transaction.TransactionInformation.Status ==
TransactionStatus
.Committed)
94
if (e.Transaction.TransactionInformation.Status !=
TransactionStatus
.Committed && this.IsSafeToUnlock)
System.Data (5)
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
261
if (enlistedTransaction.TransactionInformation.Status == SysTx.
TransactionStatus
.Active)
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (1)
781
transactionIsDead = (SysTx.
TransactionStatus
.Active != enlistedTransaction.TransactionInformation.Status);
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (1)
373
if (enlistedTransaction != null && enlistedTransaction.TransactionInformation.Status != SysTx.
TransactionStatus
.Active)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
767
if (SysTx.
TransactionStatus
.Active != enlistedTransaction.TransactionInformation.Status || !enlistedTransaction.Equals(currentTransaction))
774
if (SysTx.
TransactionStatus
.Active != enlistedTransaction.TransactionInformation.Status)
System.Data.Entity (1)
System\Data\EntityClient\EntityConnection.cs (1)
494
return _enlistedTransaction != null && _enlistedTransaction.TransactionInformation.Status ==
TransactionStatus
.Active;
System.Runtime.DurableInstancing (2)
System\Runtime\TransactionHelper.cs (2)
18
if (transaction.TransactionInformation.Status ==
TransactionStatus
.Aborted || transaction.TransactionInformation.Status ==
TransactionStatus
.InDoubt)
System.ServiceModel (19)
System\ServiceModel\Channels\MsmqDefaultLockingQueue.cs (3)
177
if (Transaction.Current != null && Transaction.Current.TransactionInformation.Status != System.Transactions.
TransactionStatus
.Active)
303
if (e.Transaction.TransactionInformation.Status == System.Transactions.
TransactionStatus
.Aborted)
329
else if (e.Transaction.TransactionInformation.Status == System.Transactions.
TransactionStatus
.Committed)
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (3)
254
if (
TransactionStatus
.Active == this.associatedTx.TransactionInformation.Status)
291
if (
TransactionStatus
.Active != Transaction.Current.TransactionInformation.Status)
310
if (
TransactionStatus
.Active != Transaction.Current.TransactionInformation.Status)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
218
if (
TransactionStatus
.Active != Transaction.Current.TransactionInformation.Status)
System\ServiceModel\Channels\MsmqReceiveContextLockManager.cs (1)
156
if (e.Transaction.TransactionInformation.Status ==
TransactionStatus
.Committed)
System\ServiceModel\Channels\ReceiveContext.cs (7)
296
void OnTransactionStatusNotification(
TransactionStatus
status)
300
if (status ==
TransactionStatus
.Aborted)
309
if (status !=
TransactionStatus
.Active)
632
this.context.OnTransactionStatusNotification(
TransactionStatus
.Committed);
638
this.context.OnTransactionStatusNotification(
TransactionStatus
.InDoubt);
644
this.context.OnTransactionStatusNotification(
TransactionStatus
.Active);
650
this.context.OnTransactionStatusNotification(
TransactionStatus
.Aborted);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
363
rpc.transaction.Current.TransactionInformation.Status !=
TransactionStatus
.Active)
412
rpc.transaction.Current.TransactionInformation.Status !=
TransactionStatus
.Active)
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (1)
321
if (e.Transaction.TransactionInformation.Status ==
TransactionStatus
.Aborted)
System\ServiceModel\Dispatcher\TransactedBatchContext.cs (1)
53
return
TransactionStatus
.Active == this.transaction.TransactionInformation.Status;
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Dispatcher\TransactionContext.cs (2)
51
Fx.Assert(this.currentTransaction.TransactionInformation.Status ==
TransactionStatus
.InDoubt, "Transaction state should be InDoubt at this point");
87
Fx.Assert(this.currentTransaction.TransactionInformation.Status ==
TransactionStatus
.Aborted, "Transaction state should be Aborted at this point");
System\ServiceModel\Activities\WorkflowOperationContext.cs (1)
861
if (e.Transaction.TransactionInformation.Status !=
TransactionStatus
.Committed)
System.Transactions (85)
System\Transactions\CommittableTransaction.cs (3)
179
if (this.internalTransaction.State.get_Status(this.internalTransaction) ==
TransactionStatus
.Active)
269
this.internalTransaction.State.get_Status(this.internalTransaction) !=
TransactionStatus
.Active
287
return this.internalTransaction.State.get_Status(this.internalTransaction) !=
TransactionStatus
.Active;
System\Transactions\InternalTransaction.cs (4)
388
internal static void DistributedTransactionOutcome( InternalTransaction tx,
TransactionStatus
status )
401
case
TransactionStatus
.Committed:
407
case
TransactionStatus
.Aborted:
413
case
TransactionStatus
.InDoubt:
System\Transactions\Oletx\OleTxTransaction.cs (30)
106
internal System.Transactions.
TransactionStatus
Status
116
TransactionStatus
returnValue = this.realOletxTransaction.Status;
421
if (
TransactionStatus
.Aborted == Status)
425
if (
TransactionStatus
.InDoubt == Status)
429
if (
TransactionStatus
.Active != Status)
549
private
TransactionStatus
status;
670
internal
TransactionStatus
Status
762
this.status =
TransactionStatus
.Active;
783
this.status =
TransactionStatus
.InDoubt;
1258
if (
TransactionStatus
.Aborted != status &&
1259
TransactionStatus
.Active != status)
1271
if (
TransactionStatus
.Aborted == status )
1360
internal void FireOutcome(
TransactionStatus
statusArg)
1364
if (statusArg ==
TransactionStatus
.Committed)
1373
status =
TransactionStatus
.Committed;
1375
else if (statusArg ==
TransactionStatus
.Aborted)
1384
status =
TransactionStatus
.Aborted;
1395
status =
TransactionStatus
.InDoubt;
1466
private
TransactionStatus
savedStatus;
1479
this.savedStatus =
TransactionStatus
.InDoubt;
1485
TransactionStatus
localStatus =
TransactionStatus
.InDoubt;
1515
if ( ( (
TransactionStatus
.Aborted == localStatus ) || (
TransactionStatus
.InDoubt == localStatus ) ) &&
1528
private void InvokeOutcomeFunction(
TransactionStatus
status)
1571
if ( ( (
TransactionStatus
.Aborted == status ) || (
TransactionStatus
.InDoubt == status ) ) &&
1643
InvokeOutcomeFunction(
TransactionStatus
.Committed);
1649
InvokeOutcomeFunction(
TransactionStatus
.Aborted);
1656
InvokeOutcomeFunction(
TransactionStatus
.InDoubt);
System\Transactions\Oletx\OletxVolatileEnlistment.cs (17)
33
internal abstract void OutcomeFromTransaction(
TransactionStatus
outcome );
329
internal override void OutcomeFromTransaction(
TransactionStatus
outcome )
332
if (
TransactionStatus
.Committed == outcome )
336
else if (
TransactionStatus
.Aborted == outcome )
340
else if (
TransactionStatus
.InDoubt == outcome )
903
internal override void OutcomeFromTransaction(
TransactionStatus
outcome )
917
if (
TransactionStatus
.Aborted == outcome )
921
else if (
TransactionStatus
.InDoubt == outcome )
1146
TransactionStatus
pendingOutcome;
1160
pendingOutcome =
TransactionStatus
.Active;
1351
pendingOutcome =
TransactionStatus
.Aborted;
1420
pendingOutcome =
TransactionStatus
.InDoubt;
1546
TransactionStatus
localPendingOutcome =
TransactionStatus
.Active;
1579
case
TransactionStatus
.Active:
1584
case
TransactionStatus
.Aborted:
1591
case
TransactionStatus
.InDoubt:
System\Transactions\TransactionInformation.cs (1)
94
public
TransactionStatus
Status
System\Transactions\TransactionInterop.cs (1)
706
InternalTransaction.DistributedTransactionOutcome(transaction.internalTransaction,
TransactionStatus
.InDoubt);
System\Transactions\TransactionState.cs (29)
873
internal abstract
TransactionStatus
get_Status( InternalTransaction tx );
1151
internal override
TransactionStatus
get_Status( InternalTransaction tx )
1153
return
TransactionStatus
.Active;
1546
internal override
TransactionStatus
get_Status( InternalTransaction tx )
2146
internal override
TransactionStatus
get_Status( InternalTransaction tx )
2148
return
TransactionStatus
.Aborted;
2293
internal override
TransactionStatus
get_Status( InternalTransaction tx )
2295
return
TransactionStatus
.Committed;
2357
internal override
TransactionStatus
get_Status( InternalTransaction tx )
2359
return
TransactionStatus
.InDoubt;
2395
internal override
TransactionStatus
get_Status( InternalTransaction tx )
2402
return
TransactionStatus
.Active;
3493
internal override
TransactionStatus
get_Status( InternalTransaction tx )
3495
return
TransactionStatus
.Aborted;
3767
internal override
TransactionStatus
get_Status( InternalTransaction tx )
3769
return
TransactionStatus
.Aborted;
3913
internal override
TransactionStatus
get_Status( InternalTransaction tx )
3915
return
TransactionStatus
.Committed;
3985
internal override
TransactionStatus
get_Status( InternalTransaction tx )
3987
return
TransactionStatus
.InDoubt;
4217
internal override
TransactionStatus
get_Status(InternalTransaction tx)
4219
return
TransactionStatus
.Active;
4921
internal override
TransactionStatus
get_Status(InternalTransaction tx)
4923
return
TransactionStatus
.Aborted;
5016
internal override
TransactionStatus
get_Status(InternalTransaction tx)
5018
return
TransactionStatus
.Committed;
5062
internal override
TransactionStatus
get_Status(InternalTransaction tx)
5064
return
TransactionStatus
.InDoubt;
5209
internal override
TransactionStatus
get_Status( InternalTransaction tx )
System.Workflow.Runtime (5)
System\Activities\Statements\Interop.cs (2)
849
Transaction.Current.TransactionInformation.Status ==
TransactionStatus
.Active)
1744
if (e.Transaction.TransactionInformation.Status ==
TransactionStatus
.Committed)
System\Activities\Statements\InteropExecutor.cs (1)
277
if (transactionalProperties.Transaction != null && transactionalProperties.Transaction.TransactionInformation.Status !=
TransactionStatus
.Aborted)
WorkflowExecutor.cs (2)
2326
if (System.Transactions.
TransactionStatus
.Aborted != transaction.TransactionInformation.Status)
2458
if (transactionalProperties.Transaction != null && transactionalProperties.Transaction.TransactionInformation.Status !=
TransactionStatus
.Aborted)
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (1)
426
this.clonedTransaction.TransactionInformation.Status ==
TransactionStatus
.Aborted)