ActivityListener.Sample 属性

定义

获取或设置某个回调,该回调用于确定是否允许创建具有特定数据状态的 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)

属性值

示例活动实例。

适用于