SafeDispatcher.Invoke Method (Action, DispatcherPriority, CancellationToken, TimeSpan, 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,
TimeSpan timeout,
bool runOnMainUiThread = true,
bool safeMode = true
)
Public Function Invoke (
callback As Action,
dispatcherPriority As DispatcherPriority,
cancellationToken As CancellationToken,
timeout As TimeSpan,
runOnMainUiThread As Boolean,
safeMode As Boolean
) As Object
Parameters
- callback
Type: System.Action
- dispatcherPriority
Type: System.Windows.Threading.DispatcherPriority
- cancellationToken
Type: System.Threading.CancellationToken
- timeout
Type: System.TimeSpan
- 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