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.
public:
void Fault(Exception ^ exception);
public void Fault (Exception exception);
abstract member Fault : Exception -> unit
Public Sub Fault (exception As Exception)
Parameters
Exceptions
The exception
is null
.
Remarks
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.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.