BufferBlock<T> 构造函数

定义

重载

BufferBlock<T>()

初始化新的 BufferBlock<T>

BufferBlock<T>(DataflowBlockOptions)

使用指定的 DataflowBlockOptions 初始化新的 BufferBlock<T>

BufferBlock<T>()

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

初始化新的 BufferBlock<T>

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

适用于

BufferBlock<T>(DataflowBlockOptions)

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

使用指定的 DataflowBlockOptions 初始化新的 BufferBlock<T>

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)

参数

dataflowBlockOptions
DataflowBlockOptions

用来配置此 BufferBlock<T>的选项。

例外

dataflowBlockOptionsnull

适用于