Activity.Current 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置当前线程的当前操作 (Activity)。 这会跨异步调用传递。
public:
static property System::Diagnostics::Activity ^ Current { System::Diagnostics::Activity ^ get(); void set(System::Diagnostics::Activity ^ value); };
public:
static property System::Diagnostics::Activity ^ Current { System::Diagnostics::Activity ^ get(); };
public static System.Diagnostics.Activity? Current { get; set; }
public static System.Diagnostics.Activity Current { get; }
public static System.Diagnostics.Activity Current { get; set; }
static member Current : System.Diagnostics.Activity with get, set
static member Current : System.Diagnostics.Activity
Public Shared Property Current As Activity
Public Shared ReadOnly Property Current As Activity
属性值
当前线程的当前操作。