共用方式為


IHttpResponseBodyFeature.StartAsync(CancellationToken) 方法

定義

呼叫 OnStarting () 並將標頭設定為不可修改,以啟動回應。

public System.Threading.Tasks.Task StartAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member StartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StartAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

參數

cancellationToken
CancellationToken

傳回

適用於