Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITargetBlock<TInput> Methods

.NET Framework 4.6 and 4.5

The ITargetBlock<TInput> type exposes the following members.

  Name Description
Public method Supported by Portable Class Library Complete Signals to the IDataflowBlock that it should not accept nor produce any more messages nor consume any more postponed messages. (Inherited from IDataflowBlock.)
Public method Supported by Portable Class Library Fault Causes the IDataflowBlock to complete in a Faulted state. (Inherited from IDataflowBlock.)
Public method Supported by Portable Class Library OfferMessage Offers a message to the ITargetBlock<TInput>, giving the target the opportunity to consume or postpone the message.
Top

  Name Description
Public Extension Method Supported by Portable Class Library AsObserver<TInput> Creates a new IObserver<T> abstraction over the ITargetBlock<TInput>. (Defined by DataflowBlock.)
Public Extension Method Supported by Portable Class Library Post<TInput> Posts an item to the ITargetBlock<TInput>. (Defined by DataflowBlock.)
Public Extension Method Supported by Portable Class Library SendAsync<TInput>(TInput) Overloaded. Asynchronously offers a message to the target message block, allowing for postponement. (Defined by DataflowBlock.)
Public Extension Method Supported by Portable Class Library SendAsync<TInput>(TInput, CancellationToken) Overloaded. Asynchronously offers a message to the target message block, allowing for postponement. (Defined by DataflowBlock.)
Top
Show:
© 2015 Microsoft