HttpResponseStreamWriter 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
HttpResponseStreamWriter(Stream, Encoding)
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
初始化 HttpResponseStreamWriter 的新实例。
public:
HttpResponseStreamWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public HttpResponseStreamWriter (System.IO.Stream stream, System.Text.Encoding encoding);
new Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.Stream * System.Text.Encoding -> Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter
Public Sub New (stream As Stream, encoding As Encoding)
参数
- encoding
- Encoding
要使用的字符编码。
适用于
HttpResponseStreamWriter(Stream, Encoding, Int32)
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
初始化 HttpResponseStreamWriter 的新实例。
public:
HttpResponseStreamWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize);
public HttpResponseStreamWriter (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize);
new Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.Stream * System.Text.Encoding * int -> Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer)
参数
- encoding
- Encoding
要使用的字符编码。
- bufferSize
- Int32
最小缓冲区大小。
适用于
HttpResponseStreamWriter(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
- Source:
- HttpResponseStreamWriter.cs
初始化 HttpResponseStreamWriter 的新实例。
public:
HttpResponseStreamWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize, System::Buffers::ArrayPool<System::Byte> ^ bytePool, System::Buffers::ArrayPool<char> ^ charPool);
public HttpResponseStreamWriter (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize, System.Buffers.ArrayPool<byte> bytePool, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.Stream * System.Text.Encoding * int * System.Buffers.ArrayPool<byte> * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter
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
最小缓冲区大小。