HttpRequestStreamReader 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
HttpRequestStreamReader(Stream, Encoding)
初始化 HttpRequestStreamReader 的新執行個體。
public:
HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding)
參數
- encoding
- Encoding
要使用的字元編碼。
適用於
HttpRequestStreamReader(Stream, Encoding, Int32)
初始化 HttpRequestStreamReader 的新執行個體。
public:
HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding * int -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer)
參數
- encoding
- Encoding
要使用的字元編碼。
- bufferSize
- Int32
最小緩衝區大小。
適用於
HttpRequestStreamReader(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)
初始化 HttpRequestStreamReader 的新執行個體。
public:
HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize, System::Buffers::ArrayPool<System::Byte> ^ bytePool, System::Buffers::ArrayPool<char> ^ charPool);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize, System.Buffers.ArrayPool<byte> bytePool, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding * int * System.Buffers.ArrayPool<byte> * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer, bytePool As ArrayPool(Of Byte), charPool As ArrayPool(Of Char))
參數
- encoding
- Encoding
要使用的字元編碼。
- bufferSize
- Int32
最小緩衝區大小。