StreamContent.CreateContentReadStream(CancellationToken) Método

Definição

Retorna o fluxo HTTP como um fluxo somente leitura.Returns the HTTP stream as a read-only stream.

protected:
 override System::IO::Stream ^ CreateContentReadStream(System::Threading::CancellationToken cancellationToken);
protected override System.IO.Stream CreateContentReadStream (System.Threading.CancellationToken cancellationToken);
override this.CreateContentReadStream : System.Threading.CancellationToken -> System.IO.Stream
Protected Overrides Function CreateContentReadStream (cancellationToken As CancellationToken) As Stream

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento para cancelar a operação.The cancellation token to cancel the operation.

Retornos

Stream

O fluxo de conteúdo HTTP.The HTTP content stream.

Aplica-se a