ActivityTraceId.CopyTo(Span<Byte>) 方法

定义

将当前 ActivityTraceId 的 16 个字节复制到指定的范围。Copies the 16 bytes of the current ActivityTraceId to a specified span.

public:
 void CopyTo(Span<System::Byte> destination);
public void CopyTo (Span<byte> destination);
member this.CopyTo : Span<byte> -> unit
Public Sub CopyTo (destination As Span(Of Byte))

参数

destination
Span<Byte>

要将跟踪 ID 的 16 个字节复制到的范围。The span to which the 16 bytes of the trace ID are to be copied.

适用于