@@ -268,7 +268,7 @@ public Byte[] Promote()
268
268
else
269
269
{
270
270
// The transaction was aborted externally, doom the connection to make sure it's eventually rolled back and log the same.
271
- SqlClientEventSource . Log . TraceEvent ( "<sc.SqlDelegatedTransaction.Promote|RES|CPOOL> {0}, Connection {1} , aborted before promote ." , ObjectID , connection . ObjectID ) ;
271
+ SqlClientEventSource . Log . TraceEvent ( "<sc.SqlDelegatedTransaction.Promote|RES|CPOOL> {0}, Connection null , aborted before promoting ." , ObjectID ) ;
272
272
}
273
273
return returnValue ;
274
274
}
@@ -364,7 +364,7 @@ public void Rollback(SysTx.SinglePhaseEnlistment enlistment)
364
364
{
365
365
// The transaction was aborted, report that to SysTx and log the same.
366
366
enlistment . Aborted ( ) ;
367
- SqlClientEventSource . Log . TraceEvent ( "<sc.SqlDelegatedTransaction.Rollback|RES|CPOOL> {0}, Connection {1} , aborted before rollback." , ObjectID , connection . ObjectID ) ;
367
+ SqlClientEventSource . Log . TraceEvent ( "<sc.SqlDelegatedTransaction.Rollback|RES|CPOOL> {0}, Connection null , aborted before rollback." , ObjectID ) ;
368
368
}
369
369
}
370
370
@@ -501,7 +501,7 @@ public void SinglePhaseCommit(SysTx.SinglePhaseEnlistment enlistment)
501
501
{
502
502
// The transaction was aborted before we could commit, report that to SysTx and log the same.
503
503
enlistment . Aborted ( ) ;
504
- SqlClientEventSource . Log . TraceEvent ( "<sc.SqlDelegatedTransaction.SinglePhaseCommit|RES|CPOOL> {0}, Connection {1} , aborted before commit." , ObjectID , connection . ObjectID ) ;
504
+ SqlClientEventSource . Log . TraceEvent ( "<sc.SqlDelegatedTransaction.SinglePhaseCommit|RES|CPOOL> {0}, Connection null , aborted before commit." , ObjectID ) ;
505
505
}
506
506
}
507
507
0 commit comments