static private Create ( string message, Exception innerException, Guid distributedTxId ) : |
||
message | string | |
innerException | Exception | |
distributedTxId | Guid | |
return |
internal static new TransactionAbortedException Create(string message, Exception innerException, Guid distributedTxId)
{
string messagewithTxId = message;
if (IncludeDistributedTxId(distributedTxId))
messagewithTxId = string.Format(SR.DistributedTxIDInTransactionException, messagewithTxId, distributedTxId);
return TransactionAbortedException.Create(messagewithTxId, innerException);
}
TransactionAbortedException::Create ( string message, Exception innerException ) : |
protected override void PromotedTransactionOutcome(InternalTransaction tx) { if ((tx.innerException == null) && (tx.PromotedTransaction != null)) { tx.innerException = tx.PromotedTransaction.InnerException; } throw TransactionAbortedException.Create(System.Transactions.SR.GetString("TraceSourceLtm"), tx.innerException); }