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
屬性值
目前線程的目前作業。