SingleThreadedSynchronizationContext Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Um contexto de sincronização de thread único, semelhante ao DispatcherSynchronizationContext e WindowsFormsSynchronizationContext.
public ref class SingleThreadedSynchronizationContext : System::Threading::SynchronizationContext
public class SingleThreadedSynchronizationContext : System.Threading.SynchronizationContext
type SingleThreadedSynchronizationContext = class
inherit SynchronizationContext
Public Class SingleThreadedSynchronizationContext
Inherits SynchronizationContext
- Herança
-
SingleThreadedSynchronizationContext
Comentários
Isso deve ser criado no thread que servirá como o thread de bombeamento.
Construtores
| SingleThreadedSynchronizationContext() |
Inicializa uma nova instância da SingleThreadedSynchronizationContext classe, com a nova instância relacionados para o thread atual. |
Métodos
| CreateCopy() | When overridden in a derived class, creates a copy of the synchronization context. |
| Post(SendOrPostCallback, Object) | |
| PushFrame(SingleThreadedSynchronizationContext+Frame) |
Envia por push uma bomba de mensagem no thread atual que executará o trabalho agendado usando Post(SendOrPostCallback, Object) . |
| Send(SendOrPostCallback, Object) | |