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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.