+ ///
+ /// Will be unless the
+ /// property
+ /// on the controlling proxy has been set to .
+ ///
+ ///
+ /// The default value for the
+ /// property
+ /// is , for performance reasons.
+ ///
+ ///
+ public static bool IsActive
+ {
+ get
+ {
+ Stack proxyStack = LogicalThreadContext.GetData(CURRENTPROXY_SLOTNAME) as Stack;
+ return (proxyStack != null && proxyStack.Count > 0);
+ }
+ }
+
///