4 writes to Current
System.ServiceModel (4)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (4)
321
rpc.Transaction.
Current
= contextTransaction;
368
rpc.Transaction.
Current
= transaction;
501
this.
Current
= null;
851
rpc.Transaction.
Current
= this.current; //rpc.Transaction.Current should get the dependent clone
23 references to Current
System.ServiceModel (23)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (7)
362
if (rpc.transaction != null && rpc.transaction.
Current
!= null &&
363
rpc.transaction.
Current
.TransactionInformation.Status != TransactionStatus.Active)
411
if (rpc.transaction != null && rpc.transaction.
Current
!= null &&
412
rpc.transaction.
Current
.TransactionInformation.Status != TransactionStatus.Active)
1085
receiveContext.Complete(this, ref rpc, TimeSpan.MaxValue, rpc.Transaction.
Current
);
1926
if (this.rpc.transaction != null && this.rpc.transaction.
Current
!= null)
1928
this.scope = new TransactionScope(this.rpc.transaction.
Current
);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (16)
369
rpc.InstanceContext.Transaction.AddReference(ref rpc, rpc.Transaction.
Current
, true);
458
if (!object.ReferenceEquals(this.
Current
, null))
479
rpc.InstanceContext.Transaction.CompletePendingTransaction(this.
Current
, null);
485
this.
Current
.TransactionInformation.LocalIdentifier,
492
rpc.InstanceContext.Transaction.CompletePendingTransaction(this.
Current
, error);
523
this.
Current
.Rollback();
541
this.
Current
.Rollback();
657
if (rpc.Transaction.
Current
== null)
678
rpc.Transaction.
Current
.TransactionInformation.LocalIdentifier,
694
rpc.Transaction.
Current
.TransactionInformation.LocalIdentifier,
703
rpc.Transaction.
Current
.TransactionInformation.LocalIdentifier,
722
this.Attached = rpc.Transaction.
Current
;
728
rpc.Transaction.
Current
.TransactionInformation.LocalIdentifier,
734
else if (!this.pending.ContainsKey(rpc.Transaction.
Current
))
746
rpc.Transaction.
Current
.TransactionInformation.LocalIdentifier,
830
Transaction requestTransaction = rpc.Transaction.
Current
;