Compartilhar via


MultipartReader.ReadNextSectionAsync(CancellationToken) Método

Definição

Lê o próximo 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)

Parâmetros

cancellationToken
CancellationToken

O token a se monitorar para solicitações de cancelamento. O valor padrão é None.

Retornos

Aplica-se a