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: