Remove `ToTimeoutSeconds`.`SendPingAsync` and fix `TimeSpan` behavior (#67253)
* Move CancellationToken throwing logic to the end of `Task.Wait` To match the default behavior * Fix timeout behavior in `NetworkStream.Close` Use milliseconds instead of seconds * Remove `SendPingAsync` overloads
Showing
想要评论请 注册 或 登录