共用方式為


RequestBuilder.GetAsync 方法

定義

將要求方法設定為 GET 並開始處理要求。

public:
 System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ GetAsync();
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> GetAsync ();
member this.GetAsync : unit -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function GetAsync () As Task(Of HttpResponseMessage)

傳回

結果為 HttpResponseMessage

適用於