DataflowBlockOptions::MaxMessagesPerTask Property

.NET Framework (current version)

Gets or sets the maximum number of messages that may be processed per task.

Namespace:  System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

property int MaxMessagesPerTask {
	int get ();
	void set (int value);

Property Value

Type: System::Int32
The maximum number of messages. The default is -1, which indicates an unlimited number of messages.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library