共用方式為


SocketConnectionFactoryOptions.WaitForDataBeforeAllocatingBuffer 屬性

定義

等到有資料可供配置緩衝區為止。 將此設定為 false 可增加輸送量,但代價是增加記憶體使用量。

public bool WaitForDataBeforeAllocatingBuffer { get; set; }
member this.WaitForDataBeforeAllocatingBuffer : bool with get, set
Public Property WaitForDataBeforeAllocatingBuffer As Boolean

屬性值

備註

預設為 true。

適用於