共用方式為


TelemetryActivity.End Method

Definition

Overloads

End()

Marks the activity as ended and registers the current timestamp

End(TimeSpan)

Marks the activity as ended and sets the duration and start time per given the duration

End()

Marks the activity as ended and registers the current timestamp

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

Applies to

End(TimeSpan)

Marks the activity as ended and sets the duration and start time per given the duration

public:
 void End(TimeSpan duration);
public void End (TimeSpan duration);
member this.End : TimeSpan -> unit
Public Sub End (duration As TimeSpan)

Parameters

duration
TimeSpan

Duration of the activity in milliseconds

Applies to