ActivityListener.Sample Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.