SynchronizationContext.Current Propriedade
Definição
Obtém o contexto de sincronização do thread atual.Gets the synchronization context for the current thread.
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; }
member this.Current : System.Threading.SynchronizationContext
Public Shared ReadOnly Property Current As SynchronizationContext
Valor da propriedade
Um objeto SynchronizationContext que representa o contexto de sincronização atual.A SynchronizationContext object representing the current synchronization context.
Comentários
Essa propriedade é útil para propagar um contexto de sincronização de um thread para outro.This property is useful for propagating a synchronization context from one thread to another.