SafeDispatcher.Invoke Method (Action, DispatcherPriority, CancellationToken, Boolean, Boolean)
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
public object Invoke(
Action callback,
DispatcherPriority dispatcherPriority,
CancellationToken cancellationToken,
bool runOnMainUiThread = true,
bool safeMode = true
)
Public Function Invoke (
callback As Action,
dispatcherPriority As DispatcherPriority,
cancellationToken As CancellationToken,
runOnMainUiThread As Boolean,
safeMode As Boolean
) As Object
Parameters
- callback
Type: System.Action
- dispatcherPriority
Type: System.Windows.Threading.DispatcherPriority
- cancellationToken
Type: System.Threading.CancellationToken
- runOnMainUiThread
Type: System.Boolean
- safeMode
Type: System.Boolean
Return Value
Type: System.Object
See Also
Invoke Overload
SafeDispatcher Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright