Share via


MeasureToken(String, Int32) Constructor

Definition

Initializes a new instance of the MeasureToken struct.

public:
 MeasureToken(System::String ^ name, int position);
public MeasureToken (string name, int position);
new Microsoft.Extensions.Diagnostics.Latency.MeasureToken : string * int -> Microsoft.Extensions.Diagnostics.Latency.MeasureToken
Public Sub New (name As String, position As Integer)

Parameters

name
String

Name of the measure.

position
Int32

Position of the token in the token table.

Exceptions

name is null.

Applies to