Dispatcher.CurrentDispatcher Propiedad

Definición

Obtiene para Dispatcher el subproceso que se está ejecutando actualmente y crea un nuevo Dispatcher si aún no está asociado al subproceso.

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

Valor de propiedad

Distribuidor asociado al subproceso actual.

Comentarios

Dispatcher Si no está asociado al subproceso actual, se creará un nuevoDispatcher. Este no es el caso con el FromThread método . FromThread devolverá null si no hay un distribuidor asociado al subproceso especificado.

Se aplica a