3 instantiations of TransactionTraceIdentifier
System.Transactions.Local (3)
System\Transactions\Enlistment.cs (1)
210
new
TransactionTraceIdentifier
(
System\Transactions\InternalTransaction.cs (1)
189
TransactionTraceIdentifier temp = new
TransactionTraceIdentifier
(
System\Transactions\Transaction.cs (1)
775
TransactionTraceIdentifier temp = new
TransactionTraceIdentifier
(
54 references to TransactionTraceIdentifier
System.Transactions.Local (54)
System\Transactions\EnlistmentTraceIdentifier.cs (3)
19
TransactionTraceIdentifier
transactionTraceId,
35
private readonly
TransactionTraceIdentifier
_transactionTraceIdentifier;
40
public
TransactionTraceIdentifier
TransactionTraceId => _transactionTraceIdentifier;
System\Transactions\InternalTransaction.cs (3)
178
private
TransactionTraceIdentifier
_traceIdentifier;
179
internal
TransactionTraceIdentifier
TransactionTraceId
189
TransactionTraceIdentifier
temp = new TransactionTraceIdentifier(
System\Transactions\NonWindowsUnsupported.cs (1)
75
internal
TransactionTraceIdentifier
TransactionTraceId { get; set; }
System\Transactions\Transaction.cs (5)
247
internal
TransactionTraceIdentifier
_traceIdentifier;
765
internal
TransactionTraceIdentifier
TransactionTraceId
769
if (_traceIdentifier ==
TransactionTraceIdentifier
.Empty)
773
if (_traceIdentifier ==
TransactionTraceIdentifier
.Empty)
775
TransactionTraceIdentifier
temp = new TransactionTraceIdentifier(
System\Transactions\TransactionScope.cs (14)
76
etwLog.TransactionScopeCreated(
TransactionTraceIdentifier
.Empty, TransactionScopeResult.NoTransaction);
148
etwLog.TransactionScopeCreated(
TransactionTraceIdentifier
.Empty, TransactionScopeResult.NoTransaction);
234
etwLog.TransactionScopeCreated(
TransactionTraceIdentifier
.Empty, TransactionScopeResult.NoTransaction);
316
etwLog.TransactionScopeCreated(
TransactionTraceIdentifier
.Empty, TransactionScopeResult.NoTransaction);
574
TransactionTraceIdentifier
myId;
575
TransactionTraceIdentifier
currentId;
579
currentId =
TransactionTraceIdentifier
.Empty;
588
myId =
TransactionTraceIdentifier
.Empty;
635
etwLog.TransactionScopeNestedIncorrectly(
TransactionTraceIdentifier
.Empty);
673
TransactionTraceIdentifier
myId;
674
TransactionTraceIdentifier
currentId;
678
currentId =
TransactionTraceIdentifier
.Empty;
687
myId =
TransactionTraceIdentifier
.Empty;
765
etwLog.TransactionScopeDisposed(
TransactionTraceIdentifier
.Empty);
System\Transactions\TransactionsEtwProvider.cs (20)
234
internal void TransactionCreated(TraceSourceType traceSource,
TransactionTraceIdentifier
txTraceId, string? type)
292
internal void TransactionSerialized(
TransactionTraceIdentifier
transactionTraceId)
310
internal void TransactionDeserialized(
TransactionTraceIdentifier
transactionTraceId)
399
internal void TransactionRollback(TraceSourceType traceSource,
TransactionTraceIdentifier
txTraceId, string? type)
431
internal void TransactionDependentCloneCreate(TraceSourceType traceSource,
TransactionTraceIdentifier
txTraceId, DependentCloneOption option)
463
internal void TransactionDependentCloneComplete(TraceSourceType traceSource,
TransactionTraceIdentifier
txTraceId, string? type)
495
internal void TransactionCommit(TraceSourceType traceSource,
TransactionTraceIdentifier
txTraceId, string? type)
1049
internal void TransactionScopeCreated(
TransactionTraceIdentifier
transactionID, TransactionScopeResult transactionScopeResult)
1070
internal void TransactionScopeCurrentChanged(
TransactionTraceIdentifier
currenttransactionID,
TransactionTraceIdentifier
newtransactionID)
1100
internal void TransactionScopeNestedIncorrectly(
TransactionTraceIdentifier
transactionID)
1120
internal void TransactionScopeDisposed(
TransactionTraceIdentifier
transactionID)
1140
internal void TransactionScopeIncomplete(
TransactionTraceIdentifier
transactionID)
1160
internal void TransactionScopeTimeout(
TransactionTraceIdentifier
transactionID)
1180
internal void TransactionTimeout(
TransactionTraceIdentifier
transactionID)
1223
internal void TransactionCommitted(TraceSourceType traceSource,
TransactionTraceIdentifier
transactionID)
1254
internal void TransactionInDoubt(TraceSourceType traceSource,
TransactionTraceIdentifier
transactionID)
1288
internal void TransactionPromoted(
TransactionTraceIdentifier
transactionID,
TransactionTraceIdentifier
distributedTxID)
1306
internal void TransactionAborted(TraceSourceType traceSource,
TransactionTraceIdentifier
transactionID)
System\Transactions\TransactionTraceIdentifier.cs (8)
13
internal readonly struct TransactionTraceIdentifier : IEquatable<
TransactionTraceIdentifier
>
15
public static
TransactionTraceIdentifier
Empty => default;
38
public override bool Equals([NotNullWhen(true)] object? obj) => obj is
TransactionTraceIdentifier
transactionTraceId && Equals(transactionTraceId);
40
public bool Equals(
TransactionTraceIdentifier
other) =>
44
public static bool operator ==(
TransactionTraceIdentifier
left,
TransactionTraceIdentifier
right) => left.Equals(right);
46
public static bool operator !=(
TransactionTraceIdentifier
left,
TransactionTraceIdentifier
right) => !left.Equals(right);