MultipartReader.ReadNextSectionAsync(CancellationToken) 方法

定义

读取下一个 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)

参数

cancellationToken
CancellationToken

要监视取消请求的标记。 默认值是 None

返回

适用于