Modifier

Partager via


Activity.Start Method

Definition

Starts the activity.

public:
 System::Diagnostics::Activity ^ Start();
public System.Diagnostics.Activity Start ();
member this.Start : unit -> System.Diagnostics.Activity
Public Function Start () As Activity

Returns

this for convenient chaining.

Remarks

Calling the Start method does the following:

Use DiagnosticSource.StartActivity to start the Activity and write the start event.

Applies to