Skip to content

Commit 4349a27

Browse files
ferdeenBillWagner
authored andcommitted
Update how-to-implement-a-producer-consumer-dataflow-pattern.md (#6054)
* Update how-to-implement-a-producer-consumer-dataflow-pattern.md Typo when referring to the first code example. * Update how-to-implement-a-producer-consumer-dataflow-pattern.md
1 parent fe29354 commit 4349a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard/parallel-programming/how-to-implement-a-producer-consumer-dataflow-pattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This document describes how to use the TPL Dataflow Library to implement a produ
3838
**vbc.exe /r:System.Threading.Tasks.Dataflow.dll DataflowProducerConsumer.vb**
3939

4040
## Robust Programming
41-
This example uses just one consumer to process the source data. If you have multiple consumers in your application, use the <xref:System.Threading.Tasks.Dataflow.IReceivableSourceBlock%601.TryReceive%2A> method to read data from the source block, as shown in the following example.
41+
The preceding example uses just one consumer to process the source data. If you have multiple consumers in your application, use the <xref:System.Threading.Tasks.Dataflow.IReceivableSourceBlock%601.TryReceive%2A> method to read data from the source block, as shown in the following example.
4242

4343
[!code-csharp[TPLDataflow_ProducerConsumer#2](../../../samples/snippets/csharp/VS_Snippets_Misc/tpldataflow_producerconsumer/cs/dataflowproducerconsumer.cs#2)]
4444
[!code-vb[TPLDataflow_ProducerConsumer#2](../../../samples/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_producerconsumer/vb/dataflowproducerconsumer.vb#2)]

0 commit comments

Comments
 (0)