Compartilhar via


IHttpRequestStreamReaderFactory.CreateReader(Stream, Encoding) Método

Definição

Cria um novo TextReader.

public:
 System::IO::TextReader ^ CreateReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public System.IO.TextReader CreateReader (System.IO.Stream stream, System.Text.Encoding encoding);
abstract member CreateReader : System.IO.Stream * System.Text.Encoding -> System.IO.TextReader
Public Function CreateReader (stream As Stream, encoding As Encoding) As TextReader

Parâmetros

stream
Stream

O Stream, geralmente Body.

encoding
Encoding

O Encoding, geralmente UTF8.

Retornos

Um TextReader.

Aplica-se a