FileBufferingReadStream 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FileBufferingReadStream(Stream, Int32)
- Source:
- FileBufferingReadStream.cs
初始化 FileBufferingReadStream 的新实例。
public:
FileBufferingReadStream(System::IO::Stream ^ inner, int memoryThreshold);
public FileBufferingReadStream (System.IO.Stream inner, int memoryThreshold);
new Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream : System.IO.Stream * int -> Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream
Public Sub New (inner As Stream, memoryThreshold As Integer)
参数
- memoryThreshold
- Int32
内存中要缓冲的最大大小。
适用于
FileBufferingReadStream(Stream, Int32, Nullable<Int64>, Func<String>)
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
初始化 FileBufferingReadStream 的新实例。
public:
FileBufferingReadStream(System::IO::Stream ^ inner, int memoryThreshold, Nullable<long> bufferLimit, Func<System::String ^> ^ tempFileDirectoryAccessor);
public FileBufferingReadStream (System.IO.Stream inner, int memoryThreshold, long? bufferLimit, Func<string> tempFileDirectoryAccessor);
new Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream : System.IO.Stream * int * Nullable<int64> * Func<string> -> Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream
Public Sub New (inner As Stream, memoryThreshold As Integer, bufferLimit As Nullable(Of Long), tempFileDirectoryAccessor As Func(Of String))
参数
- memoryThreshold
- Int32
内存中要缓冲的最大大小。
适用于
FileBufferingReadStream(Stream, Int32, Nullable<Int64>, String)
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
初始化 FileBufferingReadStream 的新实例。
public:
FileBufferingReadStream(System::IO::Stream ^ inner, int memoryThreshold, Nullable<long> bufferLimit, System::String ^ tempFileDirectory);
public FileBufferingReadStream (System.IO.Stream inner, int memoryThreshold, long? bufferLimit, string tempFileDirectory);
new Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream : System.IO.Stream * int * Nullable<int64> * string -> Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream
Public Sub New (inner As Stream, memoryThreshold As Integer, bufferLimit As Nullable(Of Long), tempFileDirectory As String)
参数
- memoryThreshold
- Int32
内存中要缓冲的最大大小。
- tempFileDirectory
- String
文件缓冲到的临时目录。
适用于
FileBufferingReadStream(Stream, Int32, Nullable<Int64>, Func<String>, ArrayPool<Byte>)
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
初始化 FileBufferingReadStream 的新实例。
public:
FileBufferingReadStream(System::IO::Stream ^ inner, int memoryThreshold, Nullable<long> bufferLimit, Func<System::String ^> ^ tempFileDirectoryAccessor, System::Buffers::ArrayPool<System::Byte> ^ bytePool);
public FileBufferingReadStream (System.IO.Stream inner, int memoryThreshold, long? bufferLimit, Func<string> tempFileDirectoryAccessor, System.Buffers.ArrayPool<byte> bytePool);
new Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream : System.IO.Stream * int * Nullable<int64> * Func<string> * System.Buffers.ArrayPool<byte> -> Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream
Public Sub New (inner As Stream, memoryThreshold As Integer, bufferLimit As Nullable(Of Long), tempFileDirectoryAccessor As Func(Of String), bytePool As ArrayPool(Of Byte))
参数
- memoryThreshold
- Int32
内存中要缓冲的最大大小。
要使用的 ArrayPool<T>。
适用于
FileBufferingReadStream(Stream, Int32, Nullable<Int64>, String, ArrayPool<Byte>)
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
- Source:
- FileBufferingReadStream.cs
初始化 FileBufferingReadStream 的新实例。
public:
FileBufferingReadStream(System::IO::Stream ^ inner, int memoryThreshold, Nullable<long> bufferLimit, System::String ^ tempFileDirectory, System::Buffers::ArrayPool<System::Byte> ^ bytePool);
public FileBufferingReadStream (System.IO.Stream inner, int memoryThreshold, long? bufferLimit, string tempFileDirectory, System.Buffers.ArrayPool<byte> bytePool);
new Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream : System.IO.Stream * int * Nullable<int64> * string * System.Buffers.ArrayPool<byte> -> Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream
Public Sub New (inner As Stream, memoryThreshold As Integer, bufferLimit As Nullable(Of Long), tempFileDirectory As String, bytePool As ArrayPool(Of Byte))
参数
- memoryThreshold
- Int32
内存中要缓冲的最大大小。
- tempFileDirectory
- String
文件缓冲到的临时目录。
要使用的 ArrayPool<T>。