共用方式為


NamedPipeTransportOptions.MaxReadBufferSize 屬性

定義

取得或設定傳輸將緩衝處理的未內送位元組上限。

或 0 的值 null 會停用完全允許無限制緩衝的反壓。 無限制的伺服器緩衝是給定未受信任用戶端的安全性風險。

public long? MaxReadBufferSize { get; set; }
member this.MaxReadBufferSize : Nullable<int64> with get, set
Public Property MaxReadBufferSize As Nullable(Of Long)

屬性值

備註

預設值為 1 MiB。

適用於