Export (0) Print
Expand All

ActionBlock<TInput> Methods

.NET Framework 4.5

The ActionBlock<TInput> type exposes the following members.

  Name Description
Public method Supported by Portable Class Library Complete Signals to the dataflow block that it shouldn't accept or produce any more messages and shouldn't consume any more postponed messages.
Public method Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by Portable Class Library Post Posts an item to the target dataflow block.
Public method Supported by Portable Class Library ToString Returns a string that represents the formatted name of this IDataflowBlock instance. (Overrides Object.ToString().)
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

  Name Description
Explicit interface implemetation Private method Supported by Portable Class Library IDataflowBlock.Fault Causes the dataflow block to complete in a faulted state.
Explicit interface implemetation Private method Supported by Portable Class Library ITargetBlock<TInput>.OfferMessage Offers a message to the dataflow block, and gives it the opportunity to consume or postpone the message.
Top
Show:
© 2015 Microsoft