TaskExtensions.IsDispatcherOperationTask(Task) メソッド

定義

この TaskDispatcherOperation に関連付けられているかどうかを示す値を返します。Returns a value that indicates whether this Task is associated with a DispatcherOperation.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsDispatcherOperationTask(System::Threading::Tasks::Task ^ this);
public static bool IsDispatcherOperationTask (this System.Threading.Tasks.Task this);
static member IsDispatcherOperationTask :  -> bool
<Extension()>
Public Function IsDispatcherOperationTask (this As Task) As Boolean

パラメーター

this
Task

確認対象の TaskThe Task to check.

戻り値

基になる DispatcherOperation のステータス。The status of the underlying DispatcherOperation.

注釈

trueがに関連付けられDispatcherOperationている場合falseは。それ以外の場合は。 Tasktrue if the Task is associated with a DispatcherOperation; otherwise, false.

適用対象