共用方式為


ActivityTraceId.CreateFromUtf8String(ReadOnlySpan<Byte>) 方法

定義

從 UTF8 編碼位元組唯讀範圍建立新的 ActivityTraceId 值。

public:
 static System::Diagnostics::ActivityTraceId CreateFromUtf8String(ReadOnlySpan<System::Byte> idData);
public static System.Diagnostics.ActivityTraceId CreateFromUtf8String (ReadOnlySpan<byte> idData);
static member CreateFromUtf8String : ReadOnlySpan<byte> -> System.Diagnostics.ActivityTraceId
Public Shared Function CreateFromUtf8String (idData As ReadOnlySpan(Of Byte)) As ActivityTraceId

參數

idData
ReadOnlySpan<Byte>

UTF8 編碼位元組的唯讀範圍。

傳回

新的追蹤識別碼。

適用於