FileWebRequest.GetResponseAsync FileWebRequest.GetResponseAsync FileWebRequest.GetResponseAsync FileWebRequest.GetResponseAsync Method

定义

返回对文件系统请求的响应(以异步操作形式)。Returns a response to a file system request as an asynchronous operation.

public:
 override System::Threading::Tasks::Task<System::Net::WebResponse ^> ^ GetResponseAsync();
public override System.Threading.Tasks.Task<System.Net.WebResponse> GetResponseAsync ();
override this.GetResponseAsync : unit -> System.Threading.Tasks.Task<System.Net.WebResponse>
Public Overrides Function GetResponseAsync () As Task(Of WebResponse)

返回

表示异步操作的任务对象。The task object representing the asynchronous operation.

异常

注解

备注

对于异步请求, 客户端应用程序负责实现自己的超时机制。In the case of asynchronous requests, the client application is responsible for implementing its own time-out mechanism.

适用于