ReplaySubject < T > 建構函式 (Int32)
使用指定的緩衝區大小,初始化ReplaySubject < T >類別的新實例。
Namespace:System.Reactive.Subjects
裝配: System.Reactive.dll) 中的 System.Reactive (
語法
'Declaration
Public Sub New ( _
bufferSize As Integer _
)
'Usage
Dim bufferSize As Integer
Dim instance As New ReplaySubject(bufferSize)
public ReplaySubject(
int bufferSize
)
public:
ReplaySubject(
int bufferSize
)
new :
bufferSize:int -> ReplaySubject
public function ReplaySubject(
bufferSize : int
)
參數
- bufferSize
類型: System.Int32
重新執行緩衝區的專案計數上限。