HttpResponse.StartAsync(CancellationToken) Methode

Definition

Startet die Antwort, indem OnStarting() aufgerufen und Header nicht mehr veränderlich sind.

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

Parameter

cancellationToken
CancellationToken

Gibt zurück

Hinweise

Wenn der Microsoft.AspNetCore.Http.Features.IHttpResponseStartFeature nicht festgelegt ist, ruft StartAsync standardmäßig HttpResponse.Body.FlushAsync() auf.

Gilt für: