2 instantiations of IpcResponse
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsIpc\IpcClient.cs (2)
46
return new
IpcResponse
(response, Release(ref stream));
85
return new
IpcResponse
(response, Release(ref stream));
22 references to IpcResponse
Microsoft.Diagnostics.NETCore.Client (22)
DiagnosticsClient\DiagnosticsClient.cs (11)
318
using
IpcResponse
response = IpcClient.SendMessageGetContinuation(_endpoint, message);
328
using
IpcResponse
response = await IpcClient.SendMessageGetContinuationAsync(_endpoint, message, token).ConfigureAwait(false);
553
using
IpcResponse
response = IpcClient.SendMessageGetContinuation(_endpoint, request);
574
using
IpcResponse
response = await IpcClient.SendMessageGetContinuationAsync(_endpoint, request, token).ConfigureAwait(false);
581
using
IpcResponse
response2 = IpcClient.SendMessageGetContinuation(_endpoint, request);
588
using
IpcResponse
response2 = await IpcClient.SendMessageGetContinuationAsync(_endpoint, request, token).ConfigureAwait(false);
595
using
IpcResponse
response2 = IpcClient.SendMessageGetContinuation(_endpoint, request);
602
using
IpcResponse
response2 = await IpcClient.SendMessageGetContinuationAsync(_endpoint, request, token).ConfigureAwait(false);
831
private static ProcessInfo GetProcessInfoFromResponse(
IpcResponse
response, string operationName)
838
private static ProcessInfo TryGetProcessInfo2FromResponse(
IpcResponse
response, string operationName)
848
private static ProcessInfo TryGetProcessInfo3FromResponse(
IpcResponse
response, string operationName)
DiagnosticsClient\EventPipeSession.cs (5)
31
private readonly
IpcResponse
_response;
33
private EventPipeSession(IpcEndpoint endpoint,
IpcResponse
response, ulong sessionId)
45
IpcResponse
? response = IpcClient.SendMessageGetContinuation(endpoint, requestMessage);
52
IpcResponse
? response = await IpcClient.SendMessageGetContinuationAsync(endpoint, requestMessage, cancellationToken).ConfigureAwait(false);
121
private static EventPipeSession CreateSessionFromResponse(IpcEndpoint endpoint, ref
IpcResponse
? response, string operationName)
DiagnosticsIpc\IpcClient.cs (6)
25
using
IpcResponse
response = SendMessageGetContinuation(endpoint, message);
34
/// <returns>An <see cref="
IpcResponse
"/> containing the response message and continuation stream.</returns>
35
public static
IpcResponse
SendMessageGetContinuation(IpcEndpoint endpoint, IpcMessage message)
63
using
IpcResponse
response = await SendMessageGetContinuationAsync(endpoint, message, cancellationToken).ConfigureAwait(false);
73
/// <returns>An <see cref="
IpcResponse
"/> containing the response message and continuation stream.</returns>
74
public static async Task<
IpcResponse
> SendMessageGetContinuationAsync(IpcEndpoint endpoint, IpcMessage message, CancellationToken cancellationToken)