編集

次の方法で共有


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