Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataflowBlockOptions::MaxMessagesPerTask Property

 

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)

public:
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.

Return to top
Show:
© 2017 Microsoft