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