Redigera

Dela via


Activity.Stop Method

Definition

Stops the activity.

public:
 void Stop();
public void Stop ();
member this.Stop : unit -> unit
Public Sub Stop ()

Remarks

This information is NOT passed on to the children of this Activity. Calling the Stop method:

Call DiagnosticSource.StopActivity to stop the Activity and write the stop event.

Applies to