SafeDispatcher.Invoke Method (Delegate, TimeSpan, DispatcherPriority, Object[], Boolean, Boolean)
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
public object Invoke(
Delegate callback,
TimeSpan timeout,
DispatcherPriority dispatcherPriority,
object[] args,
bool runOnMainUiThread = true,
bool safeMode = true
)
Public Function Invoke (
callback As Delegate,
timeout As TimeSpan,
dispatcherPriority As DispatcherPriority,
args As Object(),
runOnMainUiThread As Boolean,
safeMode As Boolean
) As Object
Parameters
- callback
Type: System.Delegate
- timeout
Type: System.TimeSpan
- dispatcherPriority
Type: System.Windows.Threading.DispatcherPriority
- args
Type: System.Object[]
- 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