BufferBlock<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.