This topic has not yet been rated - Rate this topic

ISourceBlock<TOutput> Methods

.NET Framework 4.5

The ISourceBlock<TOutput> type exposes the following members.

  Name Description
Public method 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 ConsumeMessage Called by a linked ITargetBlock<TInput> to accept and consume a DataflowMessageHeader previously offered by this ISourceBlock<TOutput>.
Public method Fault Causes the IDataflowBlock to complete in a Faulted state. (Inherited from IDataflowBlock.)
Public method LinkTo Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput>.
Public method ReleaseReservation Called by a linked ITargetBlock<TInput> to release a previously reserved DataflowMessageHeader by this ISourceBlock<TOutput>.
Public method ReserveMessage Called by a linked ITargetBlock<TInput> to reserve a previously offered DataflowMessageHeader by this ISourceBlock<TOutput>.
Top
  Name Description
Public Extension Method AsObservable<TOutput> Creates a new IObservable<T> abstraction over the ISourceBlock<TOutput>. (Defined by DataflowBlock.)
Public Extension Method LinkTo<TOutput>(ITargetBlock<TOutput>) Overloaded. Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput>. (Defined by DataflowBlock.)
Public Extension Method LinkTo<TOutput>(ITargetBlock<TOutput>, Predicate<TOutput>) Overloaded. Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput> using the specified filter. (Defined by DataflowBlock.)
Public Extension Method LinkTo<TOutput>(ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) Overloaded. Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput> using the specified filter. (Defined by DataflowBlock.)
Public Extension Method OutputAvailableAsync<TOutput>() Overloaded. Provides a Task<TResult> that asynchronously monitors the source for available output. (Defined by DataflowBlock.)
Public Extension Method OutputAvailableAsync<TOutput>(CancellationToken) Overloaded. Provides a Task<TResult> that asynchronously monitors the source for available output. (Defined by DataflowBlock.)
Public Extension Method Receive<TOutput>() Overloaded. Synchronously receives a value from a specified source. (Defined by DataflowBlock.)
Public Extension Method Receive<TOutput>(CancellationToken) Overloaded. Synchronously receives a value from a specified source and provides a token to cancel the operation. (Defined by DataflowBlock.)
Public Extension Method Receive<TOutput>(TimeSpan) Overloaded. Synchronously receives a value from a specified source, observing an optional time-out period. (Defined by DataflowBlock.)
Public Extension Method Receive<TOutput>(TimeSpan, CancellationToken) Overloaded. Synchronously receives a value from a specified source, providing a token to cancel the operation and observing an optional time-out interval. (Defined by DataflowBlock.)
Public Extension Method ReceiveAsync<TOutput>() Overloaded. Asynchronously receives a value from a specified source. (Defined by DataflowBlock.)
Public Extension Method ReceiveAsync<TOutput>(CancellationToken) Overloaded. Asynchronously receives a value from a specified source and provides a token to cancel the operation. (Defined by DataflowBlock.)
Public Extension Method ReceiveAsync<TOutput>(TimeSpan) Overloaded. Asynchronously receives a value from a specified source, observing an optional time-out period. (Defined by DataflowBlock.)
Public Extension Method ReceiveAsync<TOutput>(TimeSpan, CancellationToken) Overloaded. Asynchronously receives a value from a specified source, providing a token to cancel the operation and observing an optional time-out interval. (Defined by DataflowBlock.)
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.