C# Class HttpRequest.IAsyncResultExtensions

IAsyncResultExtensions
显示文件 Open project: vla/FastHttpRequest

Public Methods

Method Description
FromAsync ( this asyncResult, bool>.Action endMethod, System.TimeSpan timeout ) : void

异步编程带超时

Method Details

FromAsync() public static method

异步编程带超时
public static FromAsync ( this asyncResult, bool>.Action endMethod, System.TimeSpan timeout ) : void
asyncResult this IAsyncResult
endMethod bool>.Action 回调函数
timeout System.TimeSpan 超时
return void