简体   繁体   English

LogicalOperationStack属性是否可以为null?

[英]Can the LogicalOperationStack property ever be null?

System.Diagnostics.Trace.CorrelationManager.LogicalOperationStack属性是否可以为null?

I assume you mean System.Diagnostics.Trace.CorrelationManager.LogicalOperationStack . 我假设您的意思是System.Diagnostics.Trace.CorrelationManager.LogicalOperationStack No, it won't be null. 不,不会为空。 If the CallContext doesn't have an existing stack, for whatever reasons, a new stack will be allocated within the getter. 如果CallContext没有现有堆栈,则无论出于何种原因,都将在getter中分配一个新堆栈。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM