BufferBlock<T>.ISourceBlock<T>.ReleaseReservation(DataflowMessageHeader, ITargetBlock<T>) 메서드

정의

ITargetBlock<TInput>에 의해 이전에 예약한 DataflowMessageHeader를 해제하기 위해 연결된 ISourceBlock<TOutput>에 의해 호출됩니다.Called by a linked ITargetBlock<TInput> to release a previously reserved DataflowMessageHeader by this ISourceBlock<TOutput>.

 virtual void System.Threading.Tasks.Dataflow.ISourceBlock<T>.ReleaseReservation(System::Threading::Tasks::Dataflow::DataflowMessageHeader messageHeader, System::Threading::Tasks::Dataflow::ITargetBlock<T> ^ target) = System::Threading::Tasks::Dataflow::ISourceBlock<T>::ReleaseReservation;
void ISourceBlock<T>.ReleaseReservation (System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock<T> target);
abstract member System.Threading.Tasks.Dataflow.ISourceBlock<T>.ReleaseReservation : System.Threading.Tasks.Dataflow.DataflowMessageHeader * System.Threading.Tasks.Dataflow.ITargetBlock<'T> -> unit
override this.System.Threading.Tasks.Dataflow.ISourceBlock<T>.ReleaseReservation : System.Threading.Tasks.Dataflow.DataflowMessageHeader * System.Threading.Tasks.Dataflow.ITargetBlock<'T> -> unit
Sub ReleaseReservation (messageHeader As DataflowMessageHeader, target As ITargetBlock(Of T)) Implements ISourceBlock(Of T).ReleaseReservation

매개 변수

messageHeader
DataflowMessageHeader

해제하고 있는 예약된 메시지의 DataflowMessageHeader입니다.The DataflowMessageHeader of the reserved message being released.

target
ITargetBlock<T>

이전에 예약한 메시지를 해제하고 있는 ITargetBlock<TInput>입니다.The ITargetBlock<TInput> releasing the message it previously reserved.

구현

예외

messageHeader이 올바르지 않은 경우The messageHeader is not valid.

targetnull인 경우The target is null.

target에 예약된 메시지가 없습니다.The target did not have the message reserved.

설명

ITargetBlock<TInput> 인스턴스는이 연결할 ISourceBlock<TOutput> 인스턴스를 사용할 수 있습니다 ReleaseReservation, 릴리스만 사용 해야 합니다 DataflowMessageHeader 대상에서 이전에 성공적으로 예약 된 인스턴스.Only ITargetBlock<TInput> instances linked to this ISourceBlock<TOutput> instance may use ReleaseReservation, and it must only be used to release DataflowMessageHeader instances previously and successfully reserved by the target.

적용 대상