static private Create ( string message, Exception innerException ) : |
||
message | string | |
innerException | Exception | |
Результат |
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); }
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)); }
private TransactionException CreateTransactionAbortedException(InternalTransaction tx) { return(TransactionAbortedException.Create(System.Transactions.SR.GetString("TraceSourceLtm"), System.Transactions.SR.GetString("TransactionAborted"), tx.innerException)); }
internal static TransactionAbortedException Create(string traceSource, Exception innerException) { return(TransactionAbortedException.Create(traceSource, SR.GetString(SR.TransactionAborted), innerException)); }
internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback asyncCallback, object asyncState) { throw TransactionAbortedException.Create(System.Transactions.SR.GetString("TraceSourceLtm"), tx.innerException); }
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo, StreamingContext context) { throw TransactionAbortedException.Create(System.Transactions.SR.GetString("TraceSourceLtm"), tx.innerException); }
internal override void CreateBlockingClone(InternalTransaction tx) { throw TransactionAbortedException.Create(System.Transactions.SR.GetString("TraceSourceLtm"), tx.innerException); }