Compartir a través de


SafeDispatcher.BeginInvoke Method

Definition

Overloads

BeginInvoke(Action, Boolean)
BeginInvoke(Delegate, Object[], Boolean)
BeginInvoke(DispatcherPriority, Delegate, Boolean)
BeginInvoke(Delegate, DispatcherPriority, Object[], Boolean)
BeginInvoke(DispatcherPriority, Delegate, Object, Boolean)
BeginInvoke(DispatcherPriority, Delegate, Object, Object[], Boolean)

BeginInvoke(Action, Boolean)

public System.Windows.Threading.DispatcherOperation BeginInvoke (Action callback, bool runOnMainUiThread = true);
member this.BeginInvoke : Action * bool -> System.Windows.Threading.DispatcherOperation
Public Function BeginInvoke (callback As Action, Optional runOnMainUiThread As Boolean = true) As DispatcherOperation

Parameters

callback
Action
runOnMainUiThread
Boolean

Returns

Applies to

BeginInvoke(Delegate, Object[], Boolean)

public System.Windows.Threading.DispatcherOperation BeginInvoke (Delegate callback, object[] args, bool runOnMainUiThread = true);
member this.BeginInvoke : Delegate * obj[] * bool -> System.Windows.Threading.DispatcherOperation
Public Function BeginInvoke (callback As Delegate, args As Object(), Optional runOnMainUiThread As Boolean = true) As DispatcherOperation

Parameters

callback
Delegate
args
Object[]
runOnMainUiThread
Boolean

Returns

Applies to

BeginInvoke(DispatcherPriority, Delegate, Boolean)

public System.Windows.Threading.DispatcherOperation BeginInvoke (System.Windows.Threading.DispatcherPriority dispatcherPriority, Delegate callback, bool runOnMainUiThread = true);
member this.BeginInvoke : System.Windows.Threading.DispatcherPriority * Delegate * bool -> System.Windows.Threading.DispatcherOperation
Public Function BeginInvoke (dispatcherPriority As DispatcherPriority, callback As Delegate, Optional runOnMainUiThread As Boolean = true) As DispatcherOperation

Parameters

dispatcherPriority
DispatcherPriority
callback
Delegate
runOnMainUiThread
Boolean

Returns

Applies to

BeginInvoke(Delegate, DispatcherPriority, Object[], Boolean)

public System.Windows.Threading.DispatcherOperation BeginInvoke (Delegate callback, System.Windows.Threading.DispatcherPriority dispatcherPriority, object[] args, bool runOnMainUiThread = true);
member this.BeginInvoke : Delegate * System.Windows.Threading.DispatcherPriority * obj[] * bool -> System.Windows.Threading.DispatcherOperation
Public Function BeginInvoke (callback As Delegate, dispatcherPriority As DispatcherPriority, args As Object(), Optional runOnMainUiThread As Boolean = true) As DispatcherOperation

Parameters

callback
Delegate
dispatcherPriority
DispatcherPriority
args
Object[]
runOnMainUiThread
Boolean

Returns

Applies to

BeginInvoke(DispatcherPriority, Delegate, Object, Boolean)

public:
 System::Windows::Threading::DispatcherOperation ^ BeginInvoke(System::Windows::Threading::DispatcherPriority dispatcherPriority, Delegate ^ callback, System::Object ^ arg, bool runOnMainUiThread);
public System.Windows.Threading.DispatcherOperation BeginInvoke (System.Windows.Threading.DispatcherPriority dispatcherPriority, Delegate callback, object arg, bool runOnMainUiThread);
member this.BeginInvoke : System.Windows.Threading.DispatcherPriority * Delegate * obj * bool -> System.Windows.Threading.DispatcherOperation
Public Function BeginInvoke (dispatcherPriority As DispatcherPriority, callback As Delegate, arg As Object, runOnMainUiThread As Boolean) As DispatcherOperation

Parameters

dispatcherPriority
DispatcherPriority
callback
Delegate
arg
Object
runOnMainUiThread
Boolean

Returns

Applies to

BeginInvoke(DispatcherPriority, Delegate, Object, Object[], Boolean)

public:
 System::Windows::Threading::DispatcherOperation ^ BeginInvoke(System::Windows::Threading::DispatcherPriority dispatcherPriority, Delegate ^ callback, System::Object ^ arg, cli::array <System::Object ^> ^ args, bool runOnMainUiThread);
public System.Windows.Threading.DispatcherOperation BeginInvoke (System.Windows.Threading.DispatcherPriority dispatcherPriority, Delegate callback, object arg, object[] args, bool runOnMainUiThread);
member this.BeginInvoke : System.Windows.Threading.DispatcherPriority * Delegate * obj * obj[] * bool -> System.Windows.Threading.DispatcherOperation
Public Function BeginInvoke (dispatcherPriority As DispatcherPriority, callback As Delegate, arg As Object, args As Object(), runOnMainUiThread As Boolean) As DispatcherOperation

Parameters

dispatcherPriority
DispatcherPriority
callback
Delegate
arg
Object
args
Object[]
runOnMainUiThread
Boolean

Returns

Applies to