SafeDispatcher.Invoke<TResult> Method (Func<TResult>, Boolean, Boolean)
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
public TResult Invoke<TResult>(
Func<TResult> callback,
bool runOnMainUiThread = true,
bool safeMode = true
)
Public Function Invoke(Of TResult) (
callback As Func(Of TResult),
runOnMainUiThread As Boolean,
safeMode As Boolean
) As TResult
Parameters
- callback
Type: System.Func<TResult>
- runOnMainUiThread
Type: System.Boolean
- safeMode
Type: System.Boolean
Return Value
Type: TResult
Type Parameters
- TResult
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