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.

BroadcastBlock<T>::IDataflowBlock::Fault Method (Exception^)

 

Causes the IDataflowBlock to complete in a Faulted state.

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

private:
virtual void Fault(
	Exception^ exception
) sealed = IDataflowBlock::Fault

Parameters

exception
Type: System::Exception^

The Exception that caused the faulting.

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.

Return to top
Show:
© 2017 Microsoft