DispatcherObject.Dispatcher Propriedade

Definição

Obtém o Dispatcher que DispatcherObject está associado.

public:
 property System::Windows::Threading::Dispatcher ^ Dispatcher { System::Windows::Threading::Dispatcher ^ get(); };
public System.Windows.Threading.Dispatcher Dispatcher { get; }
member this.Dispatcher : System.Windows.Threading.Dispatcher
Public ReadOnly Property Dispatcher As Dispatcher

Valor da propriedade

O dispatcher.

Comentários

Somente o thread no qual o Dispatcher foi criado pode acessar diretamente DispatcherObject . Para acessar um DispatcherObject thread diferente do thread em que foi DispatcherObject criado, chame Invoke e BeginInvoke no DispatcherDispatcherObject qual está associado.

Aplica-se a