Partager via


SafeDispatcher.Invoke<TResult> Method (Func<TResult>, DispatcherPriority, 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,
    DispatcherPriority dispatcherPriority,
    bool runOnMainUiThread = true,
    bool safeMode = true
)
Public Function Invoke(Of TResult) (
    callback As Func(Of TResult),
    dispatcherPriority As DispatcherPriority,
    runOnMainUiThread As Boolean,
    safeMode As Boolean
) As TResult

Parameters

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