Sdílet prostřednictvím


MultipartReader.ReadNextSectionAsync(CancellationToken) Metoda

Definice

Přečte další MultipartSection.

public System.Threading.Tasks.Task<Microsoft.AspNetCore.WebUtilities.MultipartSection> ReadNextSectionAsync (System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.WebUtilities.MultipartSection?> ReadNextSectionAsync (System.Threading.CancellationToken cancellationToken = default);
member this.ReadNextSectionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.WebUtilities.MultipartSection>
Public Function ReadNextSectionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of MultipartSection)

Parametry

cancellationToken
CancellationToken

Token, který se má monitorovat pro žádosti o zrušení. Výchozí hodnota je None.

Návraty

Platí pro