Share via


ReplaySubject<T> Constructor (Int32)

Initializes a new instance of the ReplaySubject<T> class with the specified buffer size.

Namespace:  System.Reactive.Subjects
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'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
)

Parameters

  • bufferSize
    Type: System.Int32
    Maximum element count of the replay buffer.

See Also

Reference

ReplaySubject<T> Class

ReplaySubject<T> Overload

System.Reactive.Subjects Namespace