BufferBlock<T> Constructors

Definition

Overloads

BufferBlock<T>()

Initializes a new BufferBlock<T>.

BufferBlock<T>(DataflowBlockOptions)

Initializes a new BufferBlock<T> with the specified DataflowBlockOptions.

BufferBlock<T>()

Source:
BufferBlock.cs
Source:
BufferBlock.cs
Source:
BufferBlock.cs

Initializes a new BufferBlock<T>.

public:
 BufferBlock();
public BufferBlock ();
Public Sub New ()

Applies to

BufferBlock<T>(DataflowBlockOptions)

Source:
BufferBlock.cs
Source:
BufferBlock.cs
Source:
BufferBlock.cs

Initializes a new BufferBlock<T> with the specified DataflowBlockOptions.

public:
 BufferBlock(System::Threading::Tasks::Dataflow::DataflowBlockOptions ^ dataflowBlockOptions);
public BufferBlock (System.Threading.Tasks.Dataflow.DataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.BufferBlock<'T> : System.Threading.Tasks.Dataflow.DataflowBlockOptions -> System.Threading.Tasks.Dataflow.BufferBlock<'T>
Public Sub New (dataflowBlockOptions As DataflowBlockOptions)

Parameters

dataflowBlockOptions
DataflowBlockOptions

The options with which to configure this BufferBlock<T>.

Exceptions

The dataflowBlockOptions is null.

Applies to