相关疑难解决方法(0)

如何知道代码是否在TransactionScope中?

知道代码块是否在TransactionScope内的最佳方法是什么?
Transaction.Current是一种可行的方式,还是有任何微妙之处?
是否可以使用反射访问内部ContextData.CurrentData.CurrentScope(在System.Transactions中)?如果有,怎么样?

.net c# transactionscope

28
推荐指数
2
解决办法
1万
查看次数

标签 统计

.net ×1

c# ×1

transactionscope ×1