Compartir a través de


SynchronizationContext.SetSynchronizationContext Método

Definición

Establece el contexto de sincronización actual.

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)

Parámetros

syncContext
SynchronizationContext

Objeto SynchronizationContext que se va a establecer.

Atributos

Se aplica a