SynchronizationContext.Current プロパティ

定義

現在のスレッドの同期コンテキストを取得します。

public:
 static property System::Threading::SynchronizationContext ^ Current { System::Threading::SynchronizationContext ^ get(); };
public static System.Threading.SynchronizationContext Current { get; }
public static System.Threading.SynchronizationContext? Current { get; }
static member Current : System.Threading.SynchronizationContext
Public Shared ReadOnly Property Current As SynchronizationContext

プロパティ値

現在の同期コンテキストを表す SynchronizationContext オブジェクト。

注釈

このプロパティは、あるスレッドから別のスレッドに同期コンテキストを伝達する場合に便利です。

適用対象