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

返回

适用于