BatchedJoinBlock<T1,T2>.IDataflowBlock.Fault(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Causes the IDataflowBlock to complete in a Faulted state.
virtual void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(Exception ^ exception) = System::Threading::Tasks::Dataflow::IDataflowBlock::Fault;
void IDataflowBlock.Fault (Exception exception);
abstract member System.Threading.Tasks.Dataflow.IDataflowBlock.Fault : Exception -> unit
override this.System.Threading.Tasks.Dataflow.IDataflowBlock.Fault : Exception -> unit
Sub Fault (exception As Exception) Implements IDataflowBlock.Fault
Parameters
Implements
Exceptions
The exception
is null
.
Remarks
After Fault
has been called on a dataflow block, that block will complete, such that 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.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.