Modifier

Partager via


ActivityListener.Sample Property

Definition

Gets or sets the callback that is used to decide if creating Activity objects with a specific data state is allowed.

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)

Property Value

A sample activity instance.

Applies to