コード例 #1
0
        internal Transaction InternalClone()
        {
            Transaction transaction = new Transaction(this.isoLevel, this.internalTransaction);

            if (DiagnosticTrace.Verbose)
            {
                CloneCreatedTraceRecord.Trace(System.Transactions.SR.GetString("TraceSourceLtm"), transaction.TransactionTraceId);
            }
            return(transaction);
        }
コード例 #2
0
ファイル: Transaction.cs プロジェクト: wudilab/corefx
        internal Transaction InternalClone()
        {
            Transaction clone = new Transaction(_isoLevel, _internalTransaction);

            if (DiagnosticTrace.Verbose)
            {
                CloneCreatedTraceRecord.Trace(SR.TraceSourceLtm, clone.TransactionTraceId);
            }

            return(clone);
        }