0
如何使用docuementdb天青功能http綁定綁定:Azure的功能documentdb輸出參數錯誤
using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, out object locationDocument, TraceWriter log){
log.Info("C# HTTP trigger function processed a request.");
var data = await req.Content.ReadAsStringAsync();
return req.CreateResponse(HttpStatusCode.OK, $"{data}");
}
收到此錯誤:
error CS1988: Async methods cannot have ref or out parameters