Aracılığıyla paylaş


SynchronizationContext.SetSynchronizationContext Yöntem

Tanım

Geçerli eşitleme bağlamını ayarlar.

public:
 static void SetSynchronizationContext(System::Threading::SynchronizationContext ^ syncContext);
[System.Security.SecurityCritical]
public static void SetSynchronizationContext (System.Threading.SynchronizationContext syncContext);
public static void SetSynchronizationContext (System.Threading.SynchronizationContext? syncContext);
public static void SetSynchronizationContext (System.Threading.SynchronizationContext syncContext);
[<System.Security.SecurityCritical>]
static member SetSynchronizationContext : System.Threading.SynchronizationContext -> unit
static member SetSynchronizationContext : System.Threading.SynchronizationContext -> unit
Public Shared Sub SetSynchronizationContext (syncContext As SynchronizationContext)

Parametreler

syncContext
SynchronizationContext

SynchronizationContext Ayarlanacak nesne.

Öznitelikler

Şunlara uygulanır