Compartir a través de


ActivitySpanId.CreateFromBytes(ReadOnlySpan<Byte>) Método

Definición

Crea un nuevo valor ActivitySpanId desde un intervalo de solo lectura de ocho bytes.

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

Parámetros

idData
ReadOnlySpan<Byte>

Intervalo de solo lectura de ocho bytes.

Devoluciones

Id. del nuevo intervalo.

Excepciones

idData no contiene ocho bytes.

Se aplica a