Modifica

Condividi tramite


ActivityTraceId.CreateRandom Method

Definition

Creates a new ActivityTraceId based on a random number (that is very likely to be unique).

public:
 static System::Diagnostics::ActivityTraceId CreateRandom();
public static System.Diagnostics.ActivityTraceId CreateRandom ();
static member CreateRandom : unit -> System.Diagnostics.ActivityTraceId
Public Shared Function CreateRandom () As ActivityTraceId

Returns

The new ActivityTraceId.

Applies to