Share via


DispatcherQueue.GetForCurrentThread メソッド

定義

現在のスレッドに関連付けられている DispatcherQueue を取得します。

public:
 static DispatcherQueue ^ GetForCurrentThread();
 static DispatcherQueue GetForCurrentThread();
public static DispatcherQueue GetForCurrentThread();
function getForCurrentThread()
Public Shared Function GetForCurrentThread () As DispatcherQueue

戻り値

現在のスレッドでタスクを順次実行する DispatcherQueue インスタンス。このような DispatcherQueue が存在しない場合は null。

適用対象