PipeOptions 類別

定義

表示一組 Pipe 選項。

public ref class PipeOptions
public class PipeOptions
type PipeOptions = class
Public Class PipeOptions
繼承
PipeOptions

建構函式

PipeOptions(MemoryPool<Byte>, PipeScheduler, PipeScheduler, Int64, Int64, Int32, Boolean)

使用指定的參數,初始化 PipeOptions 類別的新執行個體。

屬性

Default

取得 PipeOptions 的預設執行個體。

MinimumSegmentSize

取得從 Pool 要求的區段大小下限。

PauseWriterThreshold

取得 FlushAsync(CancellationToken) 開始封鎖時 Pipe 中的位元組數。 值為零可防止 FlushAsync(CancellationToken) 封鎖,有效地使無限制的 Pipe 位元組數目。

Pool

取得用於緩衝區管理的 MemoryPool<T> 物件。

ReaderScheduler

取得用來執行 PipeReader 回呼和非同步接續的 PipeScheduler

ResumeWriterThreshold

取得 FlushAsync(CancellationToken) 停止封鎖時 Pipe 中的位元組數。

UseSynchronizationContext

取得值,判斷非同步回呼和接續是否應該在擷取它們的 SynchronizationContext 上執行。 這會優先於 ReaderSchedulerWriterScheduler 中指定的排程器。

WriterScheduler

取得用來執行 PipeWriter 回呼和非同步接續的 PipeScheduler

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於