ActivityListener.Sample 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定回呼,此回呼可用來決定是否允許建立具有特定資料狀態的 Activity 物件。
public:
property System::Diagnostics::SampleActivity<System::Diagnostics::ActivityContext> ^ Sample { System::Diagnostics::SampleActivity<System::Diagnostics::ActivityContext> ^ get(); void set(System::Diagnostics::SampleActivity<System::Diagnostics::ActivityContext> ^ value); };
public System.Diagnostics.SampleActivity<System.Diagnostics.ActivityContext>? Sample { get; set; }
member this.Sample : System.Diagnostics.SampleActivity<System.Diagnostics.ActivityContext> with get, set
Public Property Sample As SampleActivity(Of ActivityContext)
屬性值
範例活動實例。