3 writes to Payload
Microsoft.Diagnostics.NETCore.Client (3)
DiagnosticsIpc\IpcMessage.cs (3)
81
Payload
= payload ?? Array.Empty<byte>();
118
message.
Payload
= reader.ReadBytes(message.Header.Size - IpcHeader.HeaderSizeInBytes);
127
message.
Payload
= await stream.ReadBytesAsync(message.Header.Size - IpcHeader.HeaderSizeInBytes, cancellationToken).ConfigureAwait(false);
12 references to Payload
Microsoft.Diagnostics.NETCore.Client (12)
DiagnosticsClient\DiagnosticsClient.cs (8)
321
ProcessEnvironmentHelper helper = ProcessEnvironmentHelper.Parse(response.Message.
Payload
);
331
ProcessEnvironmentHelper helper = ProcessEnvironmentHelper.Parse(response.Message.
Payload
);
835
return ProcessInfo.ParseV1(response.Message.
Payload
);
845
return ProcessInfo.ParseV2(response.Message.
Payload
);
855
return ProcessInfo.ParseV3(response.Message.
Payload
);
866
uint hr = BinaryPrimitives.ReadUInt32LittleEndian(new ReadOnlySpan<byte>(responseMessage.
Payload
, 0, 4));
897
if (options.HasFlag(ValidateResponseOptions.ErrorMessageReturned) && responseMessage.
Payload
.Length >= (sizeof(uint) * 2))
899
message = IpcHelpers.ReadString(responseMessage.
Payload
, ref index);
DiagnosticsClient\EventPipeSession.cs (1)
127
ulong sessionId = BinaryPrimitives.ReadUInt64LittleEndian(new ReadOnlySpan<byte>(response.Value.Message.
Payload
, 0, 8));
DiagnosticsIpc\IpcMessage.cs (2)
97
Header.Size = checked((ushort)(IpcHeader.HeaderSizeInBytes +
Payload
.Length));
104
writer.Write(
Payload
);
DiagnosticsServerRouter\DiagnosticsServerRouterFactory.cs (1)
1418
ProcessInfo info = ProcessInfo.ParseV1(response.
Payload
);