6 references to TaskToApm
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\SegmentWriteStream.cs (2)
181
=>
TaskToApm
.Begin(WriteAsync(buffer, offset, count, CancellationToken.None), callback, state);
184
=>
TaskToApm
.End(asyncResult);
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (4)
155
return
TaskToApm
.Begin(ReadAsync(buffer, offset, count), callback, state);
160
return
TaskToApm
.End<int>(asyncResult);
165
return
TaskToApm
.Begin(WriteAsync(buffer, offset, count), callback, state);
170
TaskToApm
.End(asyncResult);