IDataflowBlock::Fault Method (Exception^)
Causes the IDataflowBlock to complete in a Faulted state.
Assembly: System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The exception is null. |
After Fault has been called on a dataflow block, that block will complete, and its Completion task will enter a final state. Faulting a block, as with canceling a block, causes buffered messages (unprocessed input messages as well as unoffered output messages) to be lost.
Show: