12 references to TaskToApm
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http\HttpRequestStream.cs (2)
92
return
TaskToApm
.Begin(ReadAsync(buffer, offset, count), callback, state);
98
return
TaskToApm
.End<int>(asyncResult);
Internal\Http\HttpResponseStream.cs (2)
84
return
TaskToApm
.Begin(WriteAsync(buffer, offset, count), callback, state);
89
TaskToApm
.End(asyncResult);
Middleware\Internal\LoggingStream.cs (4)
230
return
TaskToApm
.Begin(ReadAsync(buffer, offset, count), callback, state);
235
return
TaskToApm
.End<int>(asyncResult);
240
return
TaskToApm
.Begin(WriteAsync(buffer, offset, count), callback, state);
245
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);