Redigera

Dela via


ActivitySpanId.CreateFromUtf8String(ReadOnlySpan<Byte>) Method

Definition

Creates a new ActivitySpanId value from a read-only span of UTF8-encoded bytes.

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

Parameters

idData
ReadOnlySpan<Byte>

A read-only span of UTF8-encoded bytes.

Returns

The new span ID.

Applies to