JoinBlock<T1,T2>.Completion Property
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.
Gets a Task that represents the asynchronous operation and completion of the dataflow block.
public:
property System::Threading::Tasks::Task ^ Completion { System::Threading::Tasks::Task ^ get(); };
public System.Threading.Tasks.Task Completion { get; }
member this.Completion : System.Threading.Tasks.Task
Public ReadOnly Property Completion As Task
Property Value
The task.
Implements
Remarks
A dataflow block is considered completed when it is not currently processing a message and when it has guaranteed that it will not process any more messages. The returned Task will transition to a completed state when the associated block has completed. It will transition to the TaskStatusRanToCompletion state when the block completes its processing successfully according to the dataflow block's defined semantics. It will transition to the TaskStatusFaulted state when the dataflow block has completed processing prematurely due to an unhandled exception, and it will transition to the TaskStatusCanceled state when the dataflow block has completed processing prematurely due to receiving a cancellation request. If the task completes in the Faulted state, its Exception
property will return an AggregateException containing the one or more exceptions that caused the block to fail.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기