给 .NET 网络调用设定“预算”:用 CancellationTokenSource.CancelAfter 处理超时取消 网络请求没有在预期时间内完成时,调用方往往不希望无限等待。C# 的 Can