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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.